// // GJBaseGameLayer::updateReplay from 0x1001349f0 to 0x100134ad5 (229 bytes) // // 0 xrefs: // // This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True! // // 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 12:24:50 +0000 // __int64 __fastcall GJBaseGameLayer::updateReplay(__int64 a1, double a2) { __int64 result; // rax __int64 v3; // r14 size_t v4; // r15 size_t v5; // r15 if ( *(_BYTE *)(a1 + 12448) != 1 ) return result; v3 = *(_QWORD *)(a1 + 12920); v4 = *(_QWORD *)(a1 + 12928); if ( v4 == v3 ) return result; while ( 1 ) { if ( !*(_BYTE *)(a1 + 12238) ) { result = *(unsigned int *)(a1 + 956); if ( *(_DWORD *)(v3 + 8) != (_DWORD)result ) return result; goto LABEL_10; } result = *(unsigned int *)(a1 + 956); if ( *(_DWORD *)v3 == 99 ) break; if ( *(_DWORD *)(v3 + 8) != (_DWORD)result ) return result; LABEL_10: if ( (*(_DWORD *)v3 & 0xFFFFFFFE) != 0x62 ) { GJBaseGameLayer::handleButton(a1, *(unsigned __int8 *)(v3 + 4), *(_DWORD *)v3, *(_BYTE *)(v3 + 5) ^ 1, a2); v3 = *(_QWORD *)(a1 + 12920); v4 = *(_QWORD *)(a1 + 12928); } result = v3; v5 = v4 - (v3 + 16); if ( v5 ) { memmove((void *)v3, (const void *)(v3 + 16), v5); result = *(_QWORD *)(a1 + 12920); } v4 = v3 + v5; *(_QWORD *)(a1 + 12928) = v4; v3 = result; if ( v4 == result ) return result; } if ( (int)result > *(_DWORD *)(v3 + 8) ) *(_BYTE *)(a1 + 12650) = 1; return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source