// // GJBaseGameLayer::isButtonAllowed from 0x488904 to 0x488940 (60 bytes) // // 2 xrefs: // > GJBaseGameLayer::handleButton @ 0x492d92 // > GJBaseGameLayer::handleButton @ 0x492dcc // // 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 // bool GJBaseGameLayer::isButtonAllowed(GJBaseGameLayer *a1, bool a2, int a3, bool a4) { int v5; // [sp+0h] [bp-10h] BYREF _BOOL4 v6; // [sp+4h] [bp-Ch] BYREF int v7; // [sp+8h] [bp-8h] _BOOL4 v8; // [sp+Ch] [bp-4h] v6 = a2; v7 = a3; v8 = a4; v5 = a2 + 10 * a4 + 1000 * a3; sub_488790((int)&v6, &a1->m_allowedButtons._M_h._M_buckets, (unsigned int *)&v5); return v7; }
GD Web Decomp Icon

GD Web Decomp

Raw Source