// // GJRateLevelLayer::onToggleCoins from 0x950204 to 0x950290 (140 bytes) // // 4 xrefs: // > GJRateLevelLayer::init @ 0x9526f0 // > @ 0xe3ed8 // > GJRateLevelLayer::init @ 0x952634 // > @ 0x1546d98 // // This function is hookable on this platform (idp: arm, 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:57:22 +0000 // __int64 __fastcall GJRateLevelLayer::onToggleCoins(GJRateLevelLayer *this, cocos2d::CCObject *a2) { __int64 v2; // x2 int v3; // w1 void (__fastcall *v4)(__int64, _BYTE *); // x3 _BYTE v6[8]; // [xsp+20h] [xbp+20h] BYREF v2 = *((_QWORD *)this + 136); v3 = *((unsigned __int8 *)this + 1084) ^ 1; *((_BYTE *)this + 1084) ^= 1u; v4 = *(void (__fastcall **)(__int64, _BYTE *))(*(_QWORD *)v2 + 960LL); if ( v3 ) { v6[0] = -1; v6[1] = -1; v6[2] = -1; } else { memset(v6, 50, 3); } v4(v2, v6); return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source