// // ButtonPage::create from 0x1005e23b0 to 0x1005e2487 (215 bytes) // // 1 xrefs: // > EditButtonBar::loadFromItems @ 0x1005e20bb // // 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 // // local variable allocation has failed, the output may be wrong! ButtonPage *__fastcall ButtonPage::create(cocos2d::CCArray *a1, cocos2d::CCPoint a2, int a3, float a4) { ButtonPage *v4; // rbx __int64 v6; // [rsp+Ch] [rbp-34h] BYREF float x; // [rsp+14h] [rbp-2Ch] x = a2.x; v4 = (ButtonPage *)operator new(0x198u); cocos2d::CCLayer::CCLayer((__int64)v4); v4->cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable = (ButtonPage_vtbl *)off_100976768; v4->cocos2d::CCLayer::cocos2d::CCTouchDelegate::__vftable = (cocos2d::CCTouchDelegate_vtbl *)off_100976BE8; v4->cocos2d::CCLayer::cocos2d::CCAccelerometerDelegate::__vftable = (cocos2d::CCAccelerometerDelegate_vtbl *)&off_100976C58; v4->cocos2d::CCLayer::cocos2d::CCKeypadDelegate::__vftable = (cocos2d::CCKeypadDelegate_vtbl *)off_100976C70; v4->cocos2d::CCLayer::cocos2d::CCKeyboardDelegate::__vftable = (cocos2d::CCKeyboardDelegate_vtbl *)off_100976C90; v4->cocos2d::CCLayer::cocos2d::CCMouseDelegate::__vftable = (cocos2d::CCMouseDelegate_vtbl *)off_100976CB0; sub_10028CC60(&v6, *(double **)&a3); if ( ButtonPage::init(v4, a1, (cocos2d::CCPoint)LODWORD(x), (int)&v6, a4) ) { cocos2d::CCObject::autorelease(v4); } else { ((void (__fastcall *)(ButtonPage *))v4->~ButtonPage_0)(v4); return nullptr; } return v4; }