{"type": "func", "start": 4896792, "end": 4896952, "name": "EditorOptionsLayer::create", "pseudocode": "// \n// EditorOptionsLayer::create from 0x4ab818 to 0x4ab8b8 (160 bytes)\n// \n// 1 xrefs:\n// > EditorPauseLayer::onOptions @ 0x3ff11c\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\nEditorOptionsLayer *EditorOptionsLayer::create()\n{\n  EditorOptionsLayer *v0; // r4\n  EditorOptionsLayer_vtbl *v1; // r3\n  EditorOptionsLayer *v2; // r0\n\n  v0 = (EditorOptionsLayer *)operator new(0x304u);\n  GJOptionsLayer::GJOptionsLayer(v0);\n  v0->GJOptionsLayer::SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable = (EditorOptionsLayer_vtbl *)&off_A6C468;\n  v0->GJOptionsLayer::SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCTouchDelegate::__vftable = (cocos2d::CCTouchDelegate_vtbl *)&off_A6C75C;\n  v0->GJOptionsLayer::SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCAccelerometerDelegate::__vftable = (cocos2d::CCAccelerometerDelegate_vtbl *)&off_A6C794;\n  v0->GJOptionsLayer::SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCKeypadDelegate::__vftable = (cocos2d::CCKeypadDelegate_vtbl *)&off_A6C7A0;\n  v0->GJOptionsLayer::SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCKeyboardDelegate::__vftable = (cocos2d::CCKeyboardDelegate_vtbl *)&off_A6C7B0;\n  v0->GJOptionsLayer::SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCMouseDelegate::__vftable = (cocos2d::CCMouseDelegate_vtbl *)&off_A6C7C0;\n  v0->GJOptionsLayer::SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCRGBAProtocol::__vftable = (cocos2d::CCRGBAProtocol_vtbl *)&off_A6C7D4;\n  v0->GJOptionsLayer::SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCBlendProtocol::__vftable = (cocos2d::CCBlendProtocol_vtbl *)&off_A6C814;\n  v0->GJOptionsLayer::SetupTriggerPopup::TextInputDelegate::__vftable = (TextInputDelegate_vtbl *)&off_A6C824;\n  v0->GJOptionsLayer::SetupTriggerPopup::ConfigureValuePopupDelegate::__vftable = (ConfigureValuePopupDelegate_vtbl *)&off_A6C848;\n  v0->GJOptionsLayer::SetupTriggerPopup::SliderDelegate::__vftable = (SliderDelegate_vtbl *)&off_A6C854;\n  v0->m_buttonsPerRow = 0;\n  v0->m_buttonRows = 0;\n  if ( EditorOptionsLayer::init(v0) )\n  {\n    cocos2d::CCObject::autorelease(v0);\n  }\n  else\n  {\n    v1 = v0->GJOptionsLayer::SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable;\n    v2 = v0;\n    v0 = nullptr;\n    v1->~EditorOptionsLayer_0(v2);\n  }\n  return v0;\n}", "assembly": "; \n; EditorOptionsLayer::create from 0x4ab818 to 0x4ab8b8 (160 bytes)\n; \n; 1 xrefs:\n; > EditorPauseLayer::onOptions @ 0x3ff11c\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\nPUSH            {R3-R5,LR}                                             ; +0x0, 0x4ab818\nMOV.W           R0, #0x304; unsigned int                               ; +0x2, 0x4ab81a\nBL              _Znwj; operator new(uint)                              ; +0x6, 0x4ab81e\nMOV             R4, R0                                                 ; +0xa, 0x4ab822\nBL              _ZN14GJOptionsLayerC2Ev; GJOptionsLayer::GJOptionsLayer(void) ; +0xc, 0x4ab824\nLDR             R3, =(_ZTV18EditorOptionsLayer_ptr - 0x4AB830)         ; +0x10, 0x4ab828\nMOV             R0, R4; this                                           ; +0x12, 0x4ab82a\nADD             R3, PC; _ZTV18EditorOptionsLayer_ptr                   ; +0x14, 0x4ab82c\nLDR             R3, [R3]; `vtable for'EditorOptionsLayer ...           ; +0x16, 0x4ab82e\nADD.W           R2, R3, #8                                             ; +0x18, 0x4ab830\nSTR             R2, [R4]                                               ; +0x1c, 0x4ab834\nADD.W           R2, R3, #0x2FC                                         ; +0x1e, 0x4ab836\nSTR.W           R2, [R4,#0x108]                                        ; +0x22, 0x4ab83a\nADD.W           R2, R3, #0x334                                         ; +0x26, 0x4ab83e\nSTR.W           R2, [R4,#0x10C]                                        ; +0x2a, 0x4ab842\nADD.W           R2, R3, #0x340                                         ; +0x2e, 0x4ab846\nSTR.W           R2, [R4,#0x110]                                        ; +0x32, 0x4ab84a\nADD.W           R2, R3, #0x350                                         ; +0x36, 0x4ab84e\nSTR.W           R2, [R4,#0x114]                                        ; +0x3a, 0x4ab852\nADD.W           R2, R3, #0x360                                         ; +0x3e, 0x4ab856\nSTR.W           R2, [R4,#0x118]                                        ; +0x42, 0x4ab85a\nADD.W           R2, R3, #0x374                                         ; +0x46, 0x4ab85e\nSTR.W           R2, [R4,#0x13C]                                        ; +0x4a, 0x4ab862\nADD.W           R2, R3, #0x3B4                                         ; +0x4e, 0x4ab866\nSTR.W           R2, [R4,#0x14C]                                        ; +0x52, 0x4ab86a\nADD.W           R2, R3, #0x3C4                                         ; +0x56, 0x4ab86e\nSTR.W           R2, [R4,#0x1F0]                                        ; +0x5a, 0x4ab872\nADD.W           R2, R3, #0x3E8                                         ; +0x5e, 0x4ab876\nADD.W           R3, R3, #0x3F4                                         ; +0x62, 0x4ab87a\nSTR.W           R2, [R4,#0x1F4]                                        ; +0x66, 0x4ab87e\nSTR.W           R3, [R4,#0x1F8]                                        ; +0x6a, 0x4ab882\nMOVS            R3, #0                                                 ; +0x6e, 0x4ab886\nSTR.W           R3, [R4,#0x2F4]                                        ; +0x70, 0x4ab888\nSTR.W           R3, [R4,#0x2F8]                                        ; +0x74, 0x4ab88c\nBL              _ZN18EditorOptionsLayer4initEv; EditorOptionsLayer::init(void) ; +0x78, 0x4ab890\nMOV             R5, R0                                                 ; +0x7c, 0x4ab894\nCBZ             R0, loc_4AB8AA                                         ; +0x7e, 0x4ab896\nMOV             R0, R4; this                                           ; +0x80, 0x4ab898\nBL              _ZN7cocos2d8CCObject11autoreleaseEv; cocos2d::CCObject::autorelease(void) ; +0x82, 0x4ab89a\nB               loc_4AB8B4                                             ; +0x86, 0x4ab89e\nMOV             R0, R4; p                                              ; +0x88, 0x4ab8a0\nBL              _ZdlPv; operator delete(void *)                        ; +0x8a, 0x4ab8a2\nBL              __cxa_end_cleanup                                      ; +0x8e, 0x4ab8a6\nLDR             R3, [R4]                                               ; +0x92, 0x4ab8aa\nMOV             R0, R4                                                 ; +0x94, 0x4ab8ac\nMOV             R4, R5                                                 ; +0x96, 0x4ab8ae\nLDR             R3, [R3,#8]                                            ; +0x98, 0x4ab8b0\nBLX             R3                                                     ; +0x9a, 0x4ab8b2\nMOV             R0, R4                                                 ; +0x9c, 0x4ab8b4\nPOP             {R3-R5,PC}                                             ; +0x9e, 0x4ab8b6", "xrefs": ["EditorPauseLayer::onOptions @ 0x3ff11c"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}