// // GJBaseGameLayer::updateReplay from 0x5a4e64 to 0x5a4f1a (182 bytes) // // 1 xrefs: // > GJBaseGameLayer::processCommands @ 0x5a4ff2 // // 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::updateReplay(GJBaseGameLayer *this) { int *v2; // r6 _BYTE *v3; // r7 int v4; // r1 int v5; // r3 int v6; // lr _DWORD *v7; // r8 int v8; // r12 _DWORD *i; // r4 int v10; // r1 int v11; // r2 int v12; // r3 _DWORD *v13; // r2 int v14; // r4 if ( *((_BYTE *)this + 10728) ) { v2 = (int *)((char *)this + 11048); v3 = (char *)this + 10614; while ( 1 ) { v4 = *v2; if ( !((unsigned int)(v2[1] - *v2) >> 4) ) break; v5 = *((_DWORD *)this + 205); if ( *v3 && *(_DWORD *)v4 == 99 ) { if ( v5 > *(_DWORD *)(v4 + 8) ) *((_BYTE *)this + 10866) = 1; return; } if ( *(_DWORD *)(v4 + 8) != v5 ) return; if ( (unsigned int)(*(_DWORD *)v4 - 98) > 1 ) GJBaseGameLayer::handleButton( this, *(unsigned __int8 *)(v4 + 4), *(_DWORD *)v4, *(unsigned __int8 *)(v4 + 5) ^ 1); else GJBaseGameLayer::processReplayCheckpoint(this, *(_DWORD *)(v4 + 12)); v6 = *v2; v7 = (_DWORD *)v2[1]; v8 = *v2 + 16; for ( i = (_DWORD *)v8; i != v7; i += 4 ) { v10 = i[1]; v11 = i[2]; v12 = i[3]; *(i - 4) = *i; *(i - 3) = v10; *(i - 2) = v11; *(i - 1) = v12; } v13 = (_DWORD *)((char *)this + 11052); v14 = (((unsigned int)i - v8) & 0xFFFFFFF0) + v6; while ( v14 != *v13 ) *v13 -= 16; } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source