Results 1 to 1 of 1

Thread: Warsow 2.1 CGame

  1. #1
    Join Date
    Oct 2015
    Posts
    7
    Thanks
    0
    Thanked 1 Time in 1 Post

    Default Warsow 2.1 CGame

    I don't know if this is right, maybe a guy can check this.
    Code:
    5AC11F83   E8 D8E8FFFF      CALL cgame_x8.5AC10860 ; Probably call to CG_InitGameShared()
    5AC11F88   68 8C4F0900      PUSH 94F8C	           ; Push size of cg_state_t structure on stack as func arg
    5AC11F8D   6A 00            PUSH 0
    5AC11F8F   68 E0E2DF5A      PUSH cgame_x8.5ADFE2E0 ; Push address of cg_state_t structure on stack as func arg
    5AC11F94   E8 67C50100      CALL cgame_x8.5AC2E500 ; Call function to memset the structure
    5AC11F99   68 2CF70400      PUSH 4F72C		         ; Push size of cg_static_t structure on stack as func arg
    5AC11F9E   6A 00            PUSH 0
    5AC11FA0   68 B0EBDA5A      PUSH cgame_x8.5ADAEBB0 ; Push address of cg_static_t structure on stack as func arg
    5AC11FA5   E8 56C50100      CALL cgame_x8.5AC2E500 ; Call function to memset the structure
    5AC11FAA   68 00200F00      PUSH 0F2000			   ; Push size of cg_entities array on stack as func arg
    5AC11FAF   6A 00            PUSH 0
    5AC11FB1   68 9032E95A      PUSH cgame_x8.5AE93290 ; Push address of cg_entities array on stack as func arg
    5AC11FB6   E8 45C50100      CALL cgame_x8.5AC2E500 ; Call function to memset the array
    Maybe Client, but not sure
    Code:
    0089FE59   33D2             XOR EDX,EDX			; Clear all bits of EDX with XOR operation
    0089FE5B   E8 E043FEFF      CALL warsow_x.00884240
    0089FE60   83C4 0C          ADD ESP,0C
    0089FE63   68 482E0400      PUSH 42E48		        ; Push size of client structure on stack as func arg
    0089FE68   6A 00            PUSH 0
    0089FE6A   68 807FBC00      PUSH warsow_x.00BC7F80	; Push address of client structure on stack as func arg
    0089FE6F   E8 BCCC0500      CALL warsow_x.008FCB30	; Call function to memset the structure
    0089FE74   68 00000200      PUSH 20000				; Push size of cl_baselines structure on stack as func arg
    0089FE79   6A 00            PUSH 0
    0089FE7B   68 403BB800      PUSH warsow_x.00B83B40	; Push address of cl_baselines structure on stack as func arg
    0089FE80   E8 ABCC0500      CALL warsow_x.008FCB30	; Call function to memset the structure
    Last edited by iLikeThiS; 1st April 2016 at 19:46.

Visitors found this page by searching for:

Nobody landed on this page from a search engine, yet!
SEO Blog

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •