// // GJBaseGameLayer::shouldUseSubstepForButton from 0x5953a4 to 0x595420 (124 bytes) // // 1 xrefs: // > GJBaseGameLayer::update @ 0x5bdb26 // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // 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:53:08 +0000 // int __fastcall GJBaseGameLayer::shouldUseSubstepForButton(GJBaseGameLayer *this, float a2) { int result; // r0 double v4; // d11 int v5; // r6 int v6; // r4 double v7; // d9 double v8; // d8 double v9; // d10 if ( *((_BYTE *)this + 11665) ) { v4 = *((double *)this + 1457); v5 = *((_DWORD *)this + 2751); v6 = *((_DWORD *)this + 2750); v7 = a2 * 0.5; v8 = v4 + a2; while ( v6 != v5 ) { v9 = *(double *)(v6 + 16); if ( v9 >= v4 + v7 && v9 < v8 ) { result = GJBaseGameLayer::buttonIsRelevant((int)this, v6); if ( result ) return result; } v6 += 24; if ( v9 >= v8 ) return 0; } } return 0; }
GD Web Decomp Icon

GD Web Decomp

Raw Source