// // GJBaseGameLayer::getPlayerButtonID from 0x1002013b0 to 0x1002013e0 (48 bytes) // // 1 xrefs: // > GJBaseGameLayer::getRecordString @ 0x100201994 // // 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 __fastcall GJBaseGameLayer::getPlayerButtonID(GJBaseGameLayer *a1, int a2, bool a3) { int v3; // w9 int v4; // w10 if ( (unsigned int)(a2 - 2) >= 4 ) v3 = 6; else v3 = a2 + 5; if ( (unsigned int)(a2 - 2) >= 4 ) v4 = 1; else v4 = a2; if ( !a3 ) v3 = v4; if ( (a2 & 0xFFFFFFFE) == 0x62 ) return a2; else return v3; }
GD Web Decomp Icon

GD Web Decomp

Raw Source