// // GJBaseGameLayer::getPlayerButtonID from 0x866480 to 0x8664e0 (96 bytes) // // 2 xrefs: // > GJBaseGameLayer::getRecordString @ 0x891818 // > @ 0x8f598 // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // int GJBaseGameLayer::getPlayerButtonID(GJBaseGameLayer *a1, int a2, bool a3) { unsigned int v3; // w1 int result; // w0 if ( (unsigned int)(a2 - 98) <= 1 ) return a2; v3 = a2 - 2; if ( a3 ) { result = 6; if ( v3 <= 3 ) return dword_EED5F0[v3 + 32]; } else { result = 1; if ( v3 <= 3 ) return dword_EED5F0[v3 + 28]; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source