// // GJBaseGameLayer::shouldUseSubstepForButton from 0x9a76f4 to 0x9a77b8 (196 bytes) // // 3 xrefs: // > GJBaseGameLayer::update @ 0x9ed920 // > GJBaseGameLayer::update @ 0x9edf80 // > @ 0x41080 // // 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:10 +0000 // __int64 __fastcall GJBaseGameLayer::shouldUseSubstepForButton(GJBaseGameLayer *this, float a2) { double v2; // d9 __int64 v3; // x19 __int64 v4; // x21 double v5; // d10 double v6; // d0 double v7; // d9 double v9; // d10 double v10; // d8 __int64 result; // x0 if ( !*((_BYTE *)this + 13945) ) return 0; v2 = a2; v3 = *((_QWORD *)this + 1603); v4 = *((_QWORD *)this + 1604); v5 = *((double *)this + 1742); v6 = a2 * 0.5; v7 = v2 + v5; if ( v3 == v4 ) return 0; v9 = v6 + v5; while ( 1 ) { v10 = *(double *)(v3 + 16); if ( v10 >= v9 && v7 > v10 ) { result = (unsigned __int8)GJBaseGameLayer::buttonIsRelevant((__int64)this, v3); if ( (_BYTE)result ) break; } v3 += 24; if ( v7 <= v10 || v4 == v3 ) return 0; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source