// // cocos2d::CCMenuItemLabel::setEnabled from 0x1003a8660 to 0x1003a86fa (154 bytes) // // 3 xrefs: // > @ 0x100b345b8 // > @ 0x100b354e8 // > @ 0x100b359e0 // // 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:29:22 +0000 // void __fastcall cocos2d::CCMenuItemLabel::setEnabled(__int64 a1, char a2) { void *v3; // rax __int64 v4; // rsi __int64 v5; // rax if ( *(_BYTE *)(a1 + 339) != a2 ) { v3 = __dynamic_cast( *(const void **)(a1 + 384), (const struct __class_type_info *)&`typeinfo for'cocos2d::CCNode, (const struct __class_type_info *)&`typeinfo for'cocos2d::CCRGBAProtocol, -2); v4 = 392; if ( !a2 ) { v5 = (*(__int64 (__fastcall **)(void *, __int64))(*(_QWORD *)v3 + 8LL))(v3, 392); *(_WORD *)(a1 + 392) = *(_WORD *)v5; *(_BYTE *)(a1 + 394) = *(_BYTE *)(v5 + 2); v3 = __dynamic_cast( *(const void **)(a1 + 384), (const struct __class_type_info *)&`typeinfo for'cocos2d::CCNode, (const struct __class_type_info *)&`typeinfo for'cocos2d::CCRGBAProtocol, -2); v4 = 376; } (**(void (__fastcall ***)(void *, __int64))v3)(v3, a1 + v4); } *(_BYTE *)(a1 + 339) = a2; }
GD Web Decomp Icon

GD Web Decomp

Raw Source