// // SetupTriggerPopup::addCustomButton from 0xb1c108 to 0xb1c228 (288 bytes) // // 5 xrefs: // > GJRateEditorSoundLayer::init @ 0x953eb0 // > GJRateEditorSoundLayer::init @ 0x953f34 // > GJRateLevelListLayer::init @ 0x955d68 // > GJRateLevelListLayer::init @ 0x955dec // > @ 0x5c530 // // This function is hookable on this platform (idp: arm, 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 13:01:34 +0000 // __int64 __fastcall SetupTriggerPopup::addCustomButton( __int64 a1, unsigned int a2, __int64 a3, const cocos2d::CCPoint *a4, unsigned int a5, signed int a6) { cocos2d::CCArray *PageContainer; // x24 cocos2d::CCArray *GroupContainer; // x25 cocos2d::CCObject *v12; // x19 cocos2d::CCNode *v13; // x0 void (__fastcall *v14)(cocos2d::CCObject *, __int64 *); // x22 __int64 v17; // [xsp+70h] [xbp+70h] BYREF PageContainer = (cocos2d::CCArray *)SetupTriggerPopup::getPageContainer((cocos2d::CCArray **)a1, a5); GroupContainer = (cocos2d::CCArray *)SetupTriggerPopup::getGroupContainer((cocos2d::CCArray **)a1, a6); v12 = (cocos2d::CCObject *)CCMenuItemSpriteExtra::create(a3, 0, a1, 1424, 1); (*(void (__fastcall **)(cocos2d::CCObject *, _QWORD))(*(_QWORD *)v12 + 72LL))(v12, a2); (*(void (__fastcall **)(_QWORD, cocos2d::CCObject *))(**(_QWORD **)(a1 + 552) + 456LL))(*(_QWORD *)(a1 + 552), v12); v13 = *(cocos2d::CCNode **)(a1 + 552); v14 = *(void (__fastcall **)(cocos2d::CCObject *, __int64 *))(*(_QWORD *)v12 + 184LL); cocos2d::CCNode::convertToNodeSpace(&v17, v13, a4); v14(v12, &v17); cocos2d::CCArray::addObject(PageContainer, v12); if ( a6 > 0 ) cocos2d::CCArray::addObject(GroupContainer, v12); return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source