// // GJBaseGameLayer::controlDynamicCommand from 0x100116330 to 0x100116426 (246 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:33 +0000 // __int64 __fastcall GJBaseGameLayer::controlDynamicCommand(__int64 a1, __int64 a2, int a3, __int64 *a4, int a5) { __int64 result; // rax __int64 v6; // rcx result = *a4; v6 = a4[1]; if ( result != v6 ) { if ( a3 == -1 ) { if ( a5 ) { if ( a5 == 1 ) { do { if ( *(_QWORD *)result == a2 ) *(_WORD *)(result + 78) = 257; result += 96; } while ( result != v6 ); } else if ( a5 == 2 ) { do { if ( *(_QWORD *)result == a2 ) *(_WORD *)(result + 78) = 0; result += 96; } while ( result != v6 ); } } else { do { if ( *(_QWORD *)result == a2 ) *(_BYTE *)(result + 77) = 1; result += 96; } while ( result != v6 ); } } else if ( a5 ) { if ( a5 == 1 ) { do { if ( *(_DWORD *)(result + 80) == a3 ) *(_WORD *)(result + 78) = 257; result += 96; } while ( result != v6 ); } else if ( a5 == 2 ) { do { if ( *(_DWORD *)(result + 80) == a3 ) *(_WORD *)(result + 78) = 0; result += 96; } while ( result != v6 ); } } else { do { if ( *(_DWORD *)(result + 80) == a3 ) *(_BYTE *)(result + 77) = 1; result += 96; } while ( result != v6 ); } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source