{"type": "func", "start": 5372670032, "end": 5372670374, "name": "DemonInfoPopup::create", "pseudocode": "// \n// DemonInfoPopup::create from 0x1403c7050 to 0x1403c71a6 (342 bytes)\n// \n// 3 xrefs:\n// > DemonInfoPopup::createFromString @ 0x1403c6ef5\n// > DemonInfoPopup::createFromString @ 0x1403c6f9f\n// > <???> @ 0x1406d7940\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\n// Hidden C++ exception states: #wind=1\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; // r14\n\n  v16 = (DemonInfoPopup *)operator new(0x278u);\n  FLAlertLayer::FLAlertLayer(v16);\n  v16->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable = (DemonInfoPopup_vtbl *)&DemonInfoPopup::`vftable';\n  v16->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCTouchDelegate::__vftable = (cocos2d::CCTouchDelegate_vtbl *)&DemonInfoPopup::`vftable';\n  v16->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCAccelerometerDelegate::__vftable = (cocos2d::CCAccelerometerDelegate_vtbl *)&DemonInfoPopup::`vftable';\n  v16->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCKeypadDelegate::__vftable = (cocos2d::CCKeypadDelegate_vtbl *)&DemonInfoPopup::`vftable';\n  v16->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCKeyboardDelegate::__vftable = (cocos2d::CCKeyboardDelegate_vtbl *)&DemonInfoPopup::`vftable';\n  v16->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCMouseDelegate::__vftable = (cocos2d::CCMouseDelegate_vtbl *)&DemonInfoPopup::`vftable';\n  v16->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCRGBAProtocol::__vftable = (cocos2d::CCRGBAProtocol_vtbl *)&DemonInfoPopup::`vftable';\n  v16->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCBlendProtocol::__vftable = (cocos2d::CCBlendProtocol_vtbl *)&DemonInfoPopup::`vftable';\n  if ( DemonInfoPopup::init(v16, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12) )\n  {\n    cocos2d::CCObject::autorelease(v16);\n    return v16;\n  }\n  else\n  {\n    ((void (__fastcall *)(DemonInfoPopup *, __int64))v16->~DemonInfoPopup)(v16, 1);\n    return nullptr;\n  }\n}", "assembly": "; \n; DemonInfoPopup::create from 0x1403c7050 to 0x1403c71a6 (342 bytes)\n; \n; 3 xrefs:\n; > DemonInfoPopup::createFromString @ 0x1403c6ef5\n; > DemonInfoPopup::createFromString @ 0x1403c6f9f\n; > <???> @ 0x1406d7940\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\nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x1403c7050\nmov     [rsp+arg_8], rbp                                               ; +0x5, 0x1403c7055\nmov     [rsp+arg_10], rsi                                              ; +0xa, 0x1403c705a\nmov     [rsp+arg_18], rdi                                              ; +0xf, 0x1403c705f\npush    r14                                                            ; +0x14, 0x1403c7064\nsub     rsp, 80h                                                       ; +0x16, 0x1403c7066\nmov     ebx, r9d                                                       ; +0x1d, 0x1403c706d\nmov     edi, r8d                                                       ; +0x20, 0x1403c7070\nmov     esi, edx                                                       ; +0x23, 0x1403c7073\nmov     ebp, ecx                                                       ; +0x25, 0x1403c7075\nmov     ecx, 278h; Size                                                ; +0x27, 0x1403c7077\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x2c, 0x1403c707c\nmov     r14, rax                                                       ; +0x31, 0x1403c7081\nmov     [rsp+88h+var_18], rax                                          ; +0x34, 0x1403c7084\nmov     rcx, rax                                                       ; +0x39, 0x1403c7089\ncall    FLAlertLayer__FLAlertLayer                                     ; +0x3c, 0x1403c708c\nlea     rax, ??_7DemonInfoPopup@@6B@; const DemonInfoPopup::`vftable'  ; +0x41, 0x1403c7091\nmov     [r14], rax                                                     ; +0x48, 0x1403c7098\nlea     rax, ??_7DemonInfoPopup@@6B@_0; const DemonInfoPopup::`vftable' ; +0x4b, 0x1403c709b\nmov     [r14+140h], rax                                                ; +0x52, 0x1403c70a2\nlea     rax, ??_7DemonInfoPopup@@6B@_1; const DemonInfoPopup::`vftable' ; +0x59, 0x1403c70a9\nmov     [r14+148h], rax                                                ; +0x60, 0x1403c70b0\nlea     rax, ??_7DemonInfoPopup@@6B@_2; const DemonInfoPopup::`vftable' ; +0x67, 0x1403c70b7\nmov     [r14+150h], rax                                                ; +0x6e, 0x1403c70be\nlea     rax, ??_7DemonInfoPopup@@6B@_3; const DemonInfoPopup::`vftable' ; +0x75, 0x1403c70c5\nmov     [r14+158h], rax                                                ; +0x7c, 0x1403c70cc\nlea     rax, ??_7DemonInfoPopup@@6B@_4; const DemonInfoPopup::`vftable' ; +0x83, 0x1403c70d3\nmov     [r14+160h], rax                                                ; +0x8a, 0x1403c70da\nlea     rax, ??_7DemonInfoPopup@@6B@_5; const DemonInfoPopup::`vftable' ; +0x91, 0x1403c70e1\nmov     [r14+198h], rax                                                ; +0x98, 0x1403c70e8\nlea     rax, ??_7DemonInfoPopup@@6B@_6; const DemonInfoPopup::`vftable' ; +0x9f, 0x1403c70ef\nmov     [r14+1B0h], rax                                                ; +0xa6, 0x1403c70f6\nmov     eax, [rsp+88h+arg_58]                                          ; +0xad, 0x1403c70fd\nmov     [rsp+88h+var_28], eax                                          ; +0xb4, 0x1403c7104\nmov     eax, [rsp+88h+arg_50]                                          ; +0xb8, 0x1403c7108\nmov     [rsp+88h+var_30], eax                                          ; +0xbf, 0x1403c710f\nmov     eax, [rsp+88h+arg_48]                                          ; +0xc3, 0x1403c7113\nmov     [rsp+88h+var_38], eax                                          ; +0xca, 0x1403c711a\nmov     eax, [rsp+88h+arg_40]                                          ; +0xce, 0x1403c711e\nmov     [rsp+88h+var_40], eax                                          ; +0xd5, 0x1403c7125\nmov     eax, [rsp+88h+arg_38]                                          ; +0xd9, 0x1403c7129\nmov     [rsp+88h+var_48], eax                                          ; +0xe0, 0x1403c7130\nmov     eax, [rsp+88h+arg_30]                                          ; +0xe4, 0x1403c7134\nmov     [rsp+88h+var_50], eax                                          ; +0xeb, 0x1403c713b\nmov     eax, [rsp+88h+arg_28]                                          ; +0xef, 0x1403c713f\nmov     [rsp+88h+var_58], eax                                          ; +0xf6, 0x1403c7146\nmov     ecx, [rsp+88h+arg_20]                                          ; +0xfa, 0x1403c714a\nmov     [rsp+88h+var_60], ecx                                          ; +0x101, 0x1403c7151\nmov     [rsp+88h+var_68], ebx                                          ; +0x105, 0x1403c7155\nmov     r9d, edi                                                       ; +0x109, 0x1403c7159\nmov     r8d, esi                                                       ; +0x10c, 0x1403c715c\nmov     edx, ebp                                                       ; +0x10f, 0x1403c715f\nmov     rcx, r14                                                       ; +0x111, 0x1403c7161\ncall    DemonInfoPopup__init                                           ; +0x114, 0x1403c7164\nmov     rcx, r14                                                       ; +0x119, 0x1403c7169\ntest    al, al                                                         ; +0x11c, 0x1403c716c\njz      short loc_1403C717B                                            ; +0x11e, 0x1403c716e\ncall    cs:?autorelease@CCObject@cocos2d@@QEAAPEAV12@XZ; cocos2d::CCObject::autorelease(void) ; +0x120, 0x1403c7170\nmov     rax, r14                                                       ; +0x126, 0x1403c7176\njmp     short loc_1403C7188                                            ; +0x129, 0x1403c7179\nmov     rax, [r14]                                                     ; +0x12b, 0x1403c717b\nmov     edx, 1                                                         ; +0x12e, 0x1403c717e\ncall    qword ptr [rax+8]                                              ; +0x133, 0x1403c7183\nxor     eax, eax                                                       ; +0x136, 0x1403c7186\nlea     r11, [rsp+88h+var_8]                                           ; +0x138, 0x1403c7188\nmov     rbx, [r11+10h]                                                 ; +0x140, 0x1403c7190\nmov     rbp, [r11+18h]                                                 ; +0x144, 0x1403c7194\nmov     rsi, [r11+20h]                                                 ; +0x148, 0x1403c7198\nmov     rdi, [r11+28h]                                                 ; +0x14c, 0x1403c719c\nmov     rsp, r11                                                       ; +0x150, 0x1403c71a0\npop     r14                                                            ; +0x153, 0x1403c71a3\nretn                                                                   ; +0x155, 0x1403c71a5", "xrefs": ["DemonInfoPopup::createFromString @ 0x1403c6ef5", "DemonInfoPopup::createFromString @ 0x1403c6f9f", "<???> @ 0x1406d7940"], "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"}