// // GJBaseGameLayer::shouldUseSubstepForButton from 0x100296ff4 to 0x1002970a8 (180 bytes) // // 1 xrefs: // > GJBaseGameLayer::update @ 0x10029a984 // // 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:02:06 +0000 // __int64 __fastcall GJBaseGameLayer::shouldUseSubstepForButton(__int64 a1, float a2) { __int64 v3; // x8 __int64 v4; // x20 double v5; // d0 double v6; // d1 double v7; // d8 double v8; // d9 __int64 i; // x21 double v10; // d10 bool v11; // nf if ( *(_BYTE *)(a1 + 13945) != 1 ) return 0; v3 = *(_QWORD *)(a1 + 12824); v4 = *(_QWORD *)(a1 + 12832); if ( v3 == v4 ) return 0; v5 = a2; v6 = *(double *)(a1 + 13936); v7 = v6 + v5; v8 = v5 * 0.5 + v6; for ( i = v3 + 24; ; i += 24 ) { v10 = *(double *)(i - 8); v11 = v10 >= v8 && v10 < v7; if ( v11 && (GJBaseGameLayer::buttonIsRelevant(a1, i - 24) & 1) != 0 ) break; if ( v10 >= v7 || i == v4 ) return 0; } return 1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source