// // GJBaseGameLayer::getPlayerButtonID from 0x476c28 to 0x476c60 (56 bytes) // // 1 xrefs: // > GJBaseGameLayer::getRecordString @ 0x48eba2 // // 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; // r0 if ( (unsigned int)(a2 - 98) <= 1 ) return a2; v3 = a2 - 2; if ( a3 ) { if ( v3 > 3 ) return 6; else return *((char *)&unk_9ABF60 + v3 + 100); } else if ( v3 > 3 ) { return 1; } else { return *((char *)&unk_9ABF60 + v3 + 96); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source