// // ButtonPage::create from 0x3d9268 to 0x3d9314 (172 bytes) // // 1 xrefs: // > EditButtonBar::loadFromItems @ 0x3d94f8 // // 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 // ButtonPage *ButtonPage::create(cocos2d::CCArray *a1, cocos2d::CCPoint a2, int a3, float a4) { float x; // r9 float y; // r6 ButtonPage *v8; // r4 cocos2d::CCPoint v9; // r2 ButtonPage_vtbl *v10; // r3 ButtonPage *v11; // r0 float v13; // [sp+4h] [bp-14h] cocos2d::CCPoint v14; // [sp+Ch] [bp-Ch] BYREF x = a2.x; y = a2.y; v8 = (ButtonPage *)operator new(0x13Cu); cocos2d::CCLayer::CCLayer(v8); v8->cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable = (ButtonPage_vtbl *)&off_A51368; v8->cocos2d::CCLayer::cocos2d::CCTouchDelegate::__vftable = (cocos2d::CCTouchDelegate_vtbl *)&off_A515A8; v8->cocos2d::CCLayer::cocos2d::CCAccelerometerDelegate::__vftable = (cocos2d::CCAccelerometerDelegate_vtbl *)&off_A515E0; v8->cocos2d::CCLayer::cocos2d::CCKeypadDelegate::__vftable = (cocos2d::CCKeypadDelegate_vtbl *)&off_A515EC; v8->cocos2d::CCLayer::cocos2d::CCKeyboardDelegate::__vftable = (cocos2d::CCKeyboardDelegate_vtbl *)&off_A515FC; v8->cocos2d::CCLayer::cocos2d::CCMouseDelegate::__vftable = (cocos2d::CCMouseDelegate_vtbl *)&off_A5160C; cocos2d::CCPoint::CCPoint(&v14, (const cocos2d::CCPoint *)LODWORD(x)); LODWORD(v9.x) = &v14; v9.y = y; if ( ButtonPage::init(v8, a1, v9, a3, v13) ) { cocos2d::CCObject::autorelease(v8); } else { v10 = v8->cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable; v11 = v8; v8 = nullptr; v10->~ButtonPage_0(v11); } return v8; }
GD Web Decomp Icon

GD Web Decomp

Raw Source