// // cocos2d::CCMenuItemLabel::setEnabled from 0x1003bf260 to 0x1003bf2fa (154 bytes) // // 3 xrefs: // > @ 0x10092bdc0 // > @ 0x10092ccc0 // > @ 0x10092d1a8 // // 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 // void __fastcall cocos2d::CCMenuItemLabel::setEnabled(cocos2d::CCMenuItemLabel *a1, bool a2) { void *v3; // rax __int64 v4; // rsi __int64 v5; // rax if ( a1->m_bEnabled != a2 ) { v3 = __dynamic_cast( *(const void **)&a1[1].m_uID, (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); LOWORD(a1[1].m_nTag) = *(_WORD *)v5; BYTE2(a1[1].m_nTag) = *(_BYTE *)(v5 + 2); v3 = __dynamic_cast( *(const void **)&a1[1].m_uID, (const struct __class_type_info *)&`typeinfo for'cocos2d::CCNode, (const struct __class_type_info *)&`typeinfo for'cocos2d::CCRGBAProtocol, -2); v4 = 376; } (**(void (__fastcall ***)(void *, char *))v3)(v3, (char *)a1 + v4); } a1->m_bEnabled = a2; }
GD Web Decomp Icon

GD Web Decomp

Raw Source