// // GJBaseGameLayer::controlAdvancedFollowCommand from 0x100289bd8 to 0x100289c54 (124 bytes) // // 2 xrefs: // > GJBaseGameLayer::controlTriggersInGroup @ 0x100289a9c // > GJBaseGameLayer::controlTriggersWithControlID @ 0x100289f88 // // This function is hookable on this platform (idp: arm, 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 11:01:59 +0000 // __int64 __fastcall GJBaseGameLayer::controlAdvancedFollowCommand(__int64 result, __int64 a2, int a3, int a4) { __int64 v4; // x8 __int64 i; // x9 v4 = *(_QWORD *)(result + 1648); for ( i = *(_QWORD *)(result + 1656); v4 != i; v4 += 32 ) { if ( a3 != -1 && *(_DWORD *)(v4 + 16) == a3 || a3 == -1 && *(_QWORD *)v4 == a2 ) { switch ( a4 ) { case 2: *(_WORD *)(v4 + 28) = 0; break; case 1: *(_WORD *)(v4 + 28) = 257; break; case 0: *(_WORD *)(v4 + 28) = 0; *(_BYTE *)(v4 + 30) = 1; break; } } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source