// // cocos2d::CCMenuItemLabel::setEnabled from 0x7dd198 to 0x7dd230 (152 bytes) // // 0 xrefs: // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // 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:00:46 +0000 // int __fastcall cocos2d::CCMenuItemLabel::setEnabled(cocos2d::CCMenuItemLabel *this, int a2) { bool v3; // r5 const void *v4; // r0 void *v5; // r0 int v6; // r0 __int16 v7; // r2 char v8; // r3 void (*v9)(void); // r3 v3 = a2; if ( *((unsigned __int8 *)this + 279) != a2 ) { v4 = *((const void **)this + 76); if ( a2 ) { if ( v4 ) { LABEL_7: v9 = **(void (***)(void))_dynamic_cast( v4, (const struct __class_type_info *)&`typeinfo for'cocos2d::CCNode, (const struct __class_type_info *)&`typeinfo for'cocos2d::CCRGBAProtocol, -2); v9(); return cocos2d::CCMenuItem::setEnabled((int)this, v3); } } else if ( v4 ) { v5 = _dynamic_cast( v4, (const struct __class_type_info *)&`typeinfo for'cocos2d::CCNode, (const struct __class_type_info *)&`typeinfo for'cocos2d::CCRGBAProtocol, -2); v6 = (*(int (__fastcall **)(void *))(*(_DWORD *)v5 + 4))(v5); v7 = *(_WORD *)v6; v8 = *(_BYTE *)(v6 + 2); v4 = *((const void **)this + 76); *((_WORD *)this + 154) = v7; *((_BYTE *)this + 310) = v8; if ( v4 ) goto LABEL_7; } __und(0xFFu); } return cocos2d::CCMenuItem::setEnabled((int)this, v3); }
GD Web Decomp Icon

GD Web Decomp

Raw Source