{"type": "func", "start": 5015736, "end": 5015920, "name": "DemonInfoPopup::create", "pseudocode": "// \n// DemonInfoPopup::create from 0x4c88b8 to 0x4c8970 (184 bytes)\n// \n// 1 xrefs:\n// > DemonInfoPopup::createFromString @ 0x4c92a0\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 *v16; // r4\n  DemonInfoPopup_vtbl *v17; // r3\n  DemonInfoPopup *v18; // r0\n\n  v16 = (DemonInfoPopup *)operator new(0x1F0u);\n  FLAlertLayer::FLAlertLayer(v16);\n  v16->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable = (DemonInfoPopup_vtbl *)&off_A748E8;\n  v16->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCTouchDelegate::__vftable = (cocos2d::CCTouchDelegate_vtbl *)&off_A74B78;\n  v16->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCAccelerometerDelegate::__vftable = (cocos2d::CCAccelerometerDelegate_vtbl *)&off_A74BB0;\n  v16->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCKeypadDelegate::__vftable = (cocos2d::CCKeypadDelegate_vtbl *)&off_A74BBC;\n  v16->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCKeyboardDelegate::__vftable = (cocos2d::CCKeyboardDelegate_vtbl *)&off_A74BCC;\n  v16->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCMouseDelegate::__vftable = (cocos2d::CCMouseDelegate_vtbl *)&off_A74BDC;\n  v16->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCBlendProtocol::__vftable = (cocos2d::CCBlendProtocol_vtbl *)&off_A74C30;\n  v16->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCRGBAProtocol::__vftable = (cocos2d::CCRGBAProtocol_vtbl *)&off_A74BF0;\n  if ( DemonInfoPopup::init(v16, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12) )\n  {\n    cocos2d::CCObject::autorelease(v16);\n  }\n  else\n  {\n    v17 = v16->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable;\n    v18 = v16;\n    v16 = nullptr;\n    v17->~DemonInfoPopup_0(v18);\n  }\n  return v16;\n}", "assembly": "; \n; DemonInfoPopup::create from 0x4c88b8 to 0x4c8970 (184 bytes)\n; \n; 1 xrefs:\n; > DemonInfoPopup::createFromString @ 0x4c92a0\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.W          {R4-R8,LR}                                             ; +0x0, 0x4c88b8\nMOV             R7, R0                                                 ; +0x4, 0x4c88bc\nSUB             SP, SP, #0x28                                          ; +0x6, 0x4c88be\nMOV.W           R0, #0x1F0; unsigned int                               ; +0x8, 0x4c88c0\nMOV             R6, R1                                                 ; +0xc, 0x4c88c4\nMOV             R5, R2                                                 ; +0xe, 0x4c88c6\nMOV             R8, R3                                                 ; +0x10, 0x4c88c8\nBL              _Znwj; operator new(uint)                              ; +0x12, 0x4c88ca\nMOV             R4, R0                                                 ; +0x16, 0x4c88ce\nBL              _ZN12FLAlertLayerC2Ev; FLAlertLayer::FLAlertLayer(void) ; +0x18, 0x4c88d0\nLDR             R3, =(_ZTV14DemonInfoPopup_ptr - 0x4C88DE)             ; +0x1c, 0x4c88d4\nMOV             R0, R4; this                                           ; +0x1e, 0x4c88d6\nMOV             R1, R7; int                                            ; +0x20, 0x4c88d8\nADD             R3, PC; _ZTV14DemonInfoPopup_ptr                       ; +0x22, 0x4c88da\nLDR             R3, [R3]; `vtable for'DemonInfoPopup ...               ; +0x24, 0x4c88dc\nADD.W           R2, R3, #8                                             ; +0x26, 0x4c88de\nSTR             R2, [R4]                                               ; +0x2a, 0x4c88e2\nADD.W           R2, R3, #0x298                                         ; +0x2c, 0x4c88e4\nSTR.W           R2, [R4,#0x108]                                        ; +0x30, 0x4c88e8\nADD.W           R2, R3, #0x2D0                                         ; +0x34, 0x4c88ec\nSTR.W           R2, [R4,#0x10C]                                        ; +0x38, 0x4c88f0\nADD.W           R2, R3, #0x2DC                                         ; +0x3c, 0x4c88f4\nSTR.W           R2, [R4,#0x110]                                        ; +0x40, 0x4c88f8\nADD.W           R2, R3, #0x2EC                                         ; +0x44, 0x4c88fc\nSTR.W           R2, [R4,#0x114]                                        ; +0x48, 0x4c8900\nADD.W           R2, R3, #0x2FC                                         ; +0x4c, 0x4c8904\nSTR.W           R2, [R4,#0x118]                                        ; +0x50, 0x4c8908\nADD.W           R2, R3, #0x310                                         ; +0x54, 0x4c890c\nADD.W           R3, R3, #0x350                                         ; +0x58, 0x4c8910\nSTR.W           R3, [R4,#0x14C]                                        ; +0x5c, 0x4c8914\nLDR             R3, [SP,#0x28+arg_0]                                   ; +0x60, 0x4c8918\nSTR.W           R2, [R4,#0x13C]                                        ; +0x62, 0x4c891a\nMOV             R2, R6; int                                            ; +0x66, 0x4c891e\nSTR.W           R8, [SP,#0x28+var_28]; int                             ; +0x68, 0x4c8920\nSTR             R3, [SP,#0x28+var_24]; int                             ; +0x6c, 0x4c8924\nLDR             R3, [SP,#0x28+arg_4]                                   ; +0x6e, 0x4c8926\nSTR             R3, [SP,#0x28+var_20]; int                             ; +0x70, 0x4c8928\nLDR             R3, [SP,#0x28+arg_8]                                   ; +0x72, 0x4c892a\nSTR             R3, [SP,#0x28+var_1C]; int                             ; +0x74, 0x4c892c\nLDR             R3, [SP,#0x28+arg_C]                                   ; +0x76, 0x4c892e\nSTR             R3, [SP,#0x28+var_18]; int                             ; +0x78, 0x4c8930\nLDR             R3, [SP,#0x28+arg_10]                                  ; +0x7a, 0x4c8932\nSTR             R3, [SP,#0x28+var_14]; int                             ; +0x7c, 0x4c8934\nLDR             R3, [SP,#0x28+arg_14]                                  ; +0x7e, 0x4c8936\nSTR             R3, [SP,#0x28+var_10]; int                             ; +0x80, 0x4c8938\nLDR             R3, [SP,#0x28+arg_18]                                  ; +0x82, 0x4c893a\nSTR             R3, [SP,#0x28+var_C]; int                              ; +0x84, 0x4c893c\nLDR             R3, [SP,#0x28+arg_1C]                                  ; +0x86, 0x4c893e\nSTR             R3, [SP,#0x28+var_8]; int                              ; +0x88, 0x4c8940\nMOV             R3, R5; int                                            ; +0x8a, 0x4c8942\nBL              _ZN14DemonInfoPopup4initEiiiiiiiiiiii; DemonInfoPopup::init(int,int,int,int,int,int,int,int,int,int,int,int) ; +0x8c, 0x4c8944\nMOV             R5, R0                                                 ; +0x90, 0x4c8948\nCBZ             R0, loc_4C895E                                         ; +0x92, 0x4c894a\nMOV             R0, R4; this                                           ; +0x94, 0x4c894c\nBL              _ZN7cocos2d8CCObject11autoreleaseEv; cocos2d::CCObject::autorelease(void) ; +0x96, 0x4c894e\nB               loc_4C8968                                             ; +0x9a, 0x4c8952\nMOV             R0, R4; p                                              ; +0x9c, 0x4c8954\nBL              _ZdlPv; operator delete(void *)                        ; +0x9e, 0x4c8956\nBL              __cxa_end_cleanup                                      ; +0xa2, 0x4c895a\nLDR             R3, [R4]                                               ; +0xa6, 0x4c895e\nMOV             R0, R4                                                 ; +0xa8, 0x4c8960\nMOV             R4, R5                                                 ; +0xaa, 0x4c8962\nLDR             R3, [R3,#8]                                            ; +0xac, 0x4c8964\nBLX             R3                                                     ; +0xae, 0x4c8966\nMOV             R0, R4                                                 ; +0xb0, 0x4c8968\nADD             SP, SP, #0x28 ; '('                                    ; +0xb2, 0x4c896a\nPOP.W           {R4-R8,PC}                                             ; +0xb4, 0x4c896c", "xrefs": ["DemonInfoPopup::createFromString @ 0x4c92a0"], "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"}