// // cocos2d::extension::CCEditBox::create from 0xaa9804 to 0xaa98e8 (228 bytes) // // 1 xrefs: // > @ 0x5dac8 // // 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 // cocos2d::extension::CCEditBox *cocos2d::extension::CCEditBox::create( const cocos2d::CCSize *a1, cocos2d::extension::CCScale9Sprite *a2, cocos2d::extension::CCScale9Sprite *a3, cocos2d::extension::CCScale9Sprite *a4) { cocos2d::extension::CCEditBox *v8; // x19 v8 = (cocos2d::extension::CCEditBox *)operator new(0x2B8u); cocos2d::extension::CCEditBox::CCEditBox(v8); if ( cocos2d::extension::CCEditBox::initWithSizeAndBackgroundSprite(v8, a1, a2) ) { if ( a3 ) v8->setBackgroundSpriteForState(v8, a3, 2u); if ( a4 ) v8->setBackgroundSpriteForState(v8, a4, 4u); cocos2d::CCObject::autorelease(v8); return v8; } else { v8->~CCEditBox_0(v8); return nullptr; } }
GD Web Decomp Icon

GD Web Decomp

Raw Source