// // GJBaseGameLayer::controlAdvancedFollowCommand from 0x99fac0 to 0x99fb4c (140 bytes) // // 3 xrefs: // > GJBaseGameLayer::controlTriggersWithControlID @ 0x9bafcc // > GJBaseGameLayer::controlTriggersInGroup @ 0x9e0518 // > @ 0x91648 // // 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 12:58:06 +0000 // __int64 __fastcall GJBaseGameLayer::controlAdvancedFollowCommand(__int64 a1, __int64 a2, int a3, int a4) { __int64 v4; // x4 __int64 result; // x0 v4 = *(_QWORD *)(a1 + 1656); for ( result = *(_QWORD *)(a1 + 1648); v4 != result; *(_BYTE *)(result - 2) = 1 ) { while ( a3 == -1 ) { if ( *(_QWORD *)result == a2 ) goto LABEL_7; LABEL_4: result += 32; if ( v4 == result ) return result; } if ( *(_DWORD *)(result + 16) != a3 ) goto LABEL_4; LABEL_7: if ( a4 ) { if ( a4 == 1 ) { *(_BYTE *)(result + 28) = 1; *(_BYTE *)(result + 29) = 1; } else if ( a4 == 2 ) { *(_BYTE *)(result + 28) = 0; *(_BYTE *)(result + 29) = 0; } goto LABEL_4; } *(_BYTE *)(result + 28) = 0; result += 32; *(_BYTE *)(result - 3) = 0; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source