// // cocos2d::CCMenuItemLabel::setEnabled from 0x18005d740 to 0x18005d816 (214 bytes) // // 8 xrefs: // > @ 0x1800fdea8 // > @ 0x1800fe300 // > @ 0x1800fe758 // > @ 0x180141f0c // > @ 0x180141f20 // > @ 0x180141f30 // > @ 0x18014cf68 // > @ 0x1801bd138 // // 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 11:21:49 +0000 // void __fastcall cocos2d::CCMenuItemLabel::setEnabled(cocos2d::CCMenuItemLabel *this, char a2) { __int64 *v4; // rax __int64 v5; // rcx __int64 v6; // rax __int64 v7; // rcx void (__fastcall ***v8)(_QWORD, char *); // rax if ( *((_BYTE *)this + 345) == a2 ) { *((_BYTE *)this + 345) = a2; } else { v4 = (__int64 *)_RTDynamicCast( *((_QWORD *)this + 48), 0, &cocos2d::CCNode `RTTI Type Descriptor', &cocos2d::CCRGBAProtocol `RTTI Type Descriptor', 0); v5 = *v4; if ( a2 ) { (*(void (__fastcall **)(__int64 *, char *))v5)(v4, (char *)this + 392); } else { v6 = (*(__int64 (__fastcall **)(__int64 *))(v5 + 8))(v4); *((_WORD *)this + 196) = *(_WORD *)v6; v7 = *((_QWORD *)this + 48); *((_BYTE *)this + 394) = *(_BYTE *)(v6 + 2); v8 = (void (__fastcall ***)(_QWORD, char *))_RTDynamicCast( v7, 0, &cocos2d::CCNode `RTTI Type Descriptor', &cocos2d::CCRGBAProtocol `RTTI Type Descriptor', 0); (**v8)(v8, (char *)this + 376); } *((_BYTE *)this + 345) = a2; } }
GD Web Decomp Icon

GD Web Decomp

Raw Source