// // GJBaseGameLayer::getPlayerButtonID from 0x1001347e0 to 0x100134813 (51 bytes) // // 0 xrefs: // // This function is hookable on this platform (idp: pc, 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:24:49 +0000 // __int64 __fastcall GJBaseGameLayer::getPlayerButtonID(__int64 a1, unsigned int a2, char a3) { __int64 result; // rax unsigned int v4; // ecx bool v5; // cf unsigned int v6; // ecx result = a2; if ( (a2 & 0xFFFFFFFE) != 0x62 ) { v4 = a2 - 2; if ( a3 ) { LODWORD(result) = a2 + 5; v5 = v4 < 4; v6 = 6; } else { v5 = v4 < 4; v6 = 1; } if ( v5 ) return (unsigned int)result; return v6; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source