// // GJBaseGameLayer::processCommands from 0x5a4f1c to 0x5a5068 (332 bytes) // // 1 xrefs: // > GJBaseGameLayer::update @ 0x5bdcd4 // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings // Generated at Fri, 27 Nov 2026 11:53:19 +0000 // void __fastcall GJBaseGameLayer::processCommands(GJBaseGameLayer *this, float a2, int a3, int a4) { unsigned int v8; // r0 int v9; // r5 unsigned int v10; // r1 int v11; // r1 int v12; // r1 int v13; // r2 int v14; // r1 int v15; // r0 int v16; // r0 _DWORD *i; // r2 int v18; // r3 int v19; // r2 float v20; // s15 *((_DWORD *)this + 205) = *((_DWORD *)this + 202); if ( a2 > 0.0 ) { v8 = lroundf(); v9 = *((_DWORD *)this + 202); v10 = *((_DWORD *)this + 207); if ( a3 ) { *((_DWORD *)this + 202) = v9 + 1; *((_DWORD *)this + 207) = (unsigned int)(float)((float)v10 + vcvts_n_f32_s32(v8, 1u)); } else { *((_DWORD *)this + 202) = v9 + 2; *((_DWORD *)this + 207) = v8 + v10; } } if ( !*((_BYTE *)this + 10866) ) { if ( a2 > 0.0 ) { v11 = *((_DWORD *)this + 204); if ( a3 ) v12 = v11 + 1; else v12 = v11 + 2; *((_DWORD *)this + 204) = v12; } if ( *((_BYTE *)this + 11665) ) { v13 = a4; } else if ( *((_BYTE *)this + 11666) ) { v13 = a4; } else { v13 = 1; } GJBaseGameLayer::processQueuedButtons((int)this, a2, v13); if ( *((_DWORD *)this + 2776) < (unsigned int)((*((_DWORD *)this + 2754) - *((_DWORD *)this + 2753)) >> 4) ) { v14 = *((_DWORD *)this + 205); v15 = *((_DWORD *)this + 2749); *((_DWORD *)this + 2749) = v14; v16 = v14 - v15; for ( i = (_DWORD *)((char *)this + 11104); *i < (unsigned int)((*((_DWORD *)this + 2754) - *((_DWORD *)this + 2753)) >> 4); ++*i ) { *(_DWORD *)(*((_DWORD *)this + 2753) + 16 * *i + 8) = v16; v16 = 0; } } GJBaseGameLayer::updateReplay(this); } v18 = *((_DWORD *)this + 350); if ( v18 > 0 ) { v19 = *((_DWORD *)this + 351) - 1; *((_DWORD *)this + 351) = v19; if ( v19 < 0 ) { v20 = *((float *)this + 2787); *((_DWORD *)this + 350) = v18 - 1; *((_DWORD *)this + 351) = (int)(float)(v20 * 120.0); } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source