{"type": "func", "start": 9437900, "end": 9438288, "name": "DemonInfoPopup::create", "pseudocode": "// \n// DemonInfoPopup::create from 0x9002cc to 0x900450 (388 bytes)\n// \n// 3 xrefs:\n// > DemonInfoPopup::createFromString @ 0x901754\n// > DemonInfoPopup::createFromString @ 0x90184c\n// > <???> @ 0x9c150\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\nDemonInfoPopup *DemonInfoPopup::create(\n        int a1,\n        int a2,\n        int a3,\n        int a4,\n        int a5,\n        int a6,\n        int a7,\n        int a8,\n        int a9,\n        int a10,\n        int a11,\n        int a12)\n{\n  DemonInfoPopup *v20; // x19\n  DemonInfoPopup_vtbl *v22; // x1\n  DemonInfoPopup *v23; // x0\n\n  v20 = (DemonInfoPopup *)operator new(0x278u);\n  cocos2d::CCLayerColor::CCLayerColor(v20);\n  v20->m_controlConnected = -1;\n  v20->m_joystickConnected = -1;\n  v20->m_buttonMenu = nullptr;\n  v20->m_alertProtocol = nullptr;\n  v20->m_scene = nullptr;\n  v20->m_reverseKeyBack = 0;\n  v20->m_mainLayer = nullptr;\n  v20->m_ZOrder = 0;\n  v20->m_noElasticity = 0;\n  v20->m_button1 = nullptr;\n  v20->m_button2 = nullptr;\n  v20->m_scrollingLayer = nullptr;\n  v20->m_containsBorder = 0;\n  v20->m_noAction = 0;\n  v20->m_forcePrioRegistered = 0;\n  v20->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable = (DemonInfoPopup_vtbl *)&off_11A6CC0;\n  v20->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCTouchDelegate::__vftable = (cocos2d::CCTouchDelegate_vtbl *)off_11A71E0;\n  v20->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCAccelerometerDelegate::__vftable = (cocos2d::CCAccelerometerDelegate_vtbl *)&off_11A7250;\n  v20->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCKeypadDelegate::__vftable = (cocos2d::CCKeypadDelegate_vtbl *)&off_11A7268;\n  v20->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCKeyboardDelegate::__vftable = (cocos2d::CCKeyboardDelegate_vtbl *)&off_11A7288;\n  v20->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCMouseDelegate::__vftable = (cocos2d::CCMouseDelegate_vtbl *)off_11A72A8;\n  v20->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCBlendProtocol::__vftable = (cocos2d::CCBlendProtocol_vtbl *)&off_11A7350;\n  v20->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCRGBAProtocol::__vftable = (cocos2d::CCRGBAProtocol_vtbl *)&off_11A72D0;\n  if ( DemonInfoPopup::init(v20, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12) )\n  {\n    cocos2d::CCObject::autorelease(v20);\n  }\n  else\n  {\n    v22 = v20->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable;\n    v23 = v20;\n    v20 = nullptr;\n    v22->~DemonInfoPopup_0(v23);\n  }\n  return v20;\n}", "assembly": "; \n; DemonInfoPopup::create from 0x9002cc to 0x900450 (388 bytes)\n; \n; 3 xrefs:\n; > DemonInfoPopup::createFromString @ 0x901754\n; > DemonInfoPopup::createFromString @ 0x90184c\n; > <???> @ 0x9c150\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\nSUB             SP, SP, #0x90                                          ; +0x0, 0x9002cc\nSTP             X29, X30, [SP,#0x90+var_60]                            ; +0x4, 0x9002d0\nADD             X29, SP, #0x30                                         ; +0x8, 0x9002d4\nSTR             X27, [SP,#0x90+var_10]                                 ; +0xc, 0x9002d8\nMOV             W27, W0                                                ; +0x10, 0x9002dc\nMOV             X0, #0x278; unsigned __int64                           ; +0x14, 0x9002e0\nSTP             X19, X20, [SP,#0x90+var_50]                            ; +0x18, 0x9002e4\nSTP             X21, X22, [SP,#0x90+var_40]                            ; +0x1c, 0x9002e8\nSTP             X23, X24, [SP,#0x90+var_30]                            ; +0x20, 0x9002ec\nSTP             X25, X26, [SP,#0x90+var_20]                            ; +0x24, 0x9002f0\nMOV             W24, W3                                                ; +0x28, 0x9002f4\nMOV             W26, W1                                                ; +0x2c, 0x9002f8\nMOV             W25, W2                                                ; +0x30, 0x9002fc\nMOV             W23, W4                                                ; +0x34, 0x900300\nMOV             W22, W5                                                ; +0x38, 0x900304\nMOV             W21, W6                                                ; +0x3c, 0x900308\nMOV             W20, W7                                                ; +0x40, 0x90030c\nBL              _Znwm; operator new(ulong)                             ; +0x44, 0x900310\nMOV             X19, X0                                                ; +0x48, 0x900314\nBL              _ZN7cocos2d12CCLayerColorC1Ev; cocos2d::CCLayerColor::CCLayerColor(void) ; +0x4c, 0x900318\nMOV             W8, #0xFFFFFFFF                                        ; +0x50, 0x90031c\nSTR             W8, [X19,#0x268]                                       ; +0x54, 0x900320\nSTR             W8, [X19,#0x270]                                       ; +0x58, 0x900324\nADRP            X8, #_ZTV14DemonInfoPopup_ptr@PAGE                     ; +0x5c, 0x900328\nSTR             XZR, [X19,#0x220]                                      ; +0x60, 0x90032c\nMOV             X0, X19; this                                          ; +0x64, 0x900330\nSTR             XZR, [X19,#0x228]                                      ; +0x68, 0x900334\nMOV             W1, W27; int                                           ; +0x6c, 0x900338\nSTR             XZR, [X19,#0x230]                                      ; +0x70, 0x90033c\nMOV             W2, W26; int                                           ; +0x74, 0x900340\nSTRB            WZR, [X19,#0x238]                                      ; +0x78, 0x900344\nMOV             W3, W25; int                                           ; +0x7c, 0x900348\nSTR             XZR, [X19,#0x240]                                      ; +0x80, 0x90034c\nMOV             W4, W24; int                                           ; +0x84, 0x900350\nSTR             WZR, [X19,#0x248]                                      ; +0x88, 0x900354\nMOV             W5, W23; int                                           ; +0x8c, 0x900358\nSTRB            WZR, [X19,#0x24C]                                      ; +0x90, 0x90035c\nMOV             W6, W22; int                                           ; +0x94, 0x900360\nSTR             XZR, [X19,#0x250]                                      ; +0x98, 0x900364\nMOV             W7, W21; int                                           ; +0x9c, 0x900368\nSTR             XZR, [X19,#0x258]                                      ; +0xa0, 0x90036c\nSTR             XZR, [X19,#0x260]                                      ; +0xa4, 0x900370\nSTRB            WZR, [X19,#0x26C]                                      ; +0xa8, 0x900374\nSTRB            WZR, [X19,#0x26D]                                      ; +0xac, 0x900378\nSTRB            WZR, [X19,#0x274]                                      ; +0xb0, 0x90037c\nLDR             X8, [X8,#_ZTV14DemonInfoPopup_ptr@PAGEOFF]; `vtable for'DemonInfoPopup ... ; +0xb4, 0x900380\nADD             X9, X8, #0x10                                          ; +0xb8, 0x900384\nADD             X10, X8, #0x530                                        ; +0xbc, 0x900388\nSTR             X9, [X19]                                              ; +0xc0, 0x90038c\nADD             X9, X8, #0x5A0                                         ; +0xc4, 0x900390\nSTR             X10, [X19,#0x140]                                      ; +0xc8, 0x900394\nADD             X10, X8, #0x5B8                                        ; +0xcc, 0x900398\nSTR             X9, [X19,#0x148]                                       ; +0xd0, 0x90039c\nADD             X9, X8, #0x5D8                                         ; +0xd4, 0x9003a0\nSTR             X10, [X19,#0x150]                                      ; +0xd8, 0x9003a4\nADD             X10, X8, #0x5F8                                        ; +0xdc, 0x9003a8\nSTR             X9, [X19,#0x158]                                       ; +0xe0, 0x9003ac\nADD             X9, X8, #0x620                                         ; +0xe4, 0x9003b0\nADD             X8, X8, #0x6A0                                         ; +0xe8, 0x9003b4\nSTR             X10, [X19,#0x160]                                      ; +0xec, 0x9003b8\nSTR             X8, [X19,#0x1B0]                                       ; +0xf0, 0x9003bc\nSTR             X9, [X19,#0x198]                                       ; +0xf4, 0x9003c0\nLDR             W8, [X29,#0x60+arg_0]                                  ; +0xf8, 0x9003c4\nSTR             W8, [SP,#0x90+var_88]; int                             ; +0xfc, 0x9003c8\nLDR             W8, [X29,#0x60+arg_8]                                  ; +0x100, 0x9003cc\nSTR             W8, [SP,#0x90+var_80]; int                             ; +0x104, 0x9003d0\nLDR             W8, [X29,#0x60+arg_10]                                 ; +0x108, 0x9003d4\nSTR             W8, [SP,#0x90+var_78]; GameToolbox *                   ; +0x10c, 0x9003d8\nLDR             W8, [X29,#0x60+arg_18]                                 ; +0x110, 0x9003dc\nSTR             W8, [SP,#0x90+var_70]; GameToolbox *                   ; +0x114, 0x9003e0\nSTR             W20, [SP,#0x90+var_90]; int                            ; +0x118, 0x9003e4\nBL              _ZN14DemonInfoPopup4initEiiiiiiiiiiii; DemonInfoPopup::init(int,int,int,int,int,int,int,int,int,int,int,int) ; +0x11c, 0x9003e8\nUXTB            W0, W0                                                 ; +0x120, 0x9003ec\nCBZ             W0, loc_900424                                         ; +0x124, 0x9003f0\nMOV             X0, X19; this                                          ; +0x128, 0x9003f4\nBL              _ZN7cocos2d8CCObject11autoreleaseEv; cocos2d::CCObject::autorelease(void) ; +0x12c, 0x9003f8\nSUB             SP, X29, #0x30 ; '0'                                   ; +0x130, 0x9003fc\nMOV             X0, X19                                                ; +0x134, 0x900400\nLDP             X19, X20, [SP,#0x90+var_50]                            ; +0x138, 0x900404\nLDP             X21, X22, [SP,#0x90+var_40]                            ; +0x13c, 0x900408\nLDP             X23, X24, [SP,#0x90+var_30]                            ; +0x140, 0x90040c\nLDP             X25, X26, [SP,#0x90+var_20]                            ; +0x144, 0x900410\nLDR             X27, [SP,#0x90+var_10]                                 ; +0x148, 0x900414\nLDP             X29, X30, [SP,#0x90+var_60]                            ; +0x14c, 0x900418\nADD             SP, SP, #0x90                                          ; +0x150, 0x90041c\nRET                                                                    ; +0x154, 0x900420\nLDR             X1, [X19]                                              ; +0x158, 0x900424\nMOV             X0, X19                                                ; +0x15c, 0x900428\nMOV             X19, #0                                                ; +0x160, 0x90042c\nLDR             X1, [X1,#0x10]                                         ; +0x164, 0x900430\nBLR             X1                                                     ; +0x168, 0x900434\nB               loc_9003FC                                             ; +0x16c, 0x900438\nMOV             X20, X0                                                ; +0x170, 0x90043c\nMOV             X0, X19; p                                             ; +0x174, 0x900440\nBL              _ZdlPv; operator delete(void *)                        ; +0x178, 0x900444\nMOV             X0, X20                                                ; +0x17c, 0x900448\nBL              _Unwind_Resume                                         ; +0x180, 0x90044c", "xrefs": ["DemonInfoPopup::createFromString @ 0x901754", "DemonInfoPopup::createFromString @ 0x90184c", "<???> @ 0x9c150"], "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"}