// // cocos2d::CCMenuItemLabel::setLabel from 0x1003beb40 to 0x1003bebcf (143 bytes) // // 3 xrefs: // > @ 0x10092bde8 // > @ 0x10092cce8 // > @ 0x10092d1d0 // // 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::setLabel(cocos2d::CCMenuItemLabel *a1, cocos2d::CCNode *a2) { __int64 v2; // rax __int64 v4; // rax __int64 v5; // rsi float v6[8]; // [rsp+0h] [rbp-20h] BYREF *(_QWORD *)v6 = v2; if ( a2 ) { ((void (__fastcall *)(cocos2d::CCMenuItemLabel *, cocos2d::CCNode *))a1->addChild)(a1, a2); sub_10028CBE0(v6, 0.0, 0.0); ((void (__fastcall *)(cocos2d::CCNode *, float *))a2->setAnchorPoint)(a2, v6); v4 = ((__int64 (__fastcall *)(cocos2d::CCNode *))a2->getContentSize)(a2); ((void (__fastcall *)(cocos2d::CCMenuItemLabel *, __int64))a1->setContentSize)(a1, v4); } v5 = *(_QWORD *)&a1[1].m_uID; if ( v5 ) ((void (__fastcall *)(cocos2d::CCMenuItemLabel *, __int64, __int64))a1->removeChild_0)(a1, v5, 1); *(_QWORD *)&a1[1].m_uID = a2; }
GD Web Decomp Icon

GD Web Decomp

Raw Source