{"type": "func", "start": 5374324352, "end": 5374324708, "name": "DemonInfoPopup::create", "pseudocode": "// \n// DemonInfoPopup::create from 0x14055ae80 to 0x14055afe4 (356 bytes)\n// \n// 3 xrefs:\n// > DemonInfoPopup::createFromString @ 0x14055ace4\n// > DemonInfoPopup::createFromString @ 0x14055ada8\n// > <???> @ 0x14092c0d8\n// \n// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 11:34:12 +0000\n// \n\n// Hidden C++ exception states: #wind=1\ncocos2d::CCObject *__fastcall 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  cocos2d::CCObject *v16; // r14\n\n  v16 = (cocos2d::CCObject *)operator new(0x298u);\n  FLAlertLayer::FLAlertLayer((__int64)v16);\n  *(_QWORD *)v16 = &DemonInfoPopup::`vftable';\n  *((_QWORD *)v16 + 40) = &DemonInfoPopup::`vftable';\n  *((_QWORD *)v16 + 41) = &DemonInfoPopup::`vftable';\n  *((_QWORD *)v16 + 42) = &DemonInfoPopup::`vftable';\n  *((_QWORD *)v16 + 43) = &DemonInfoPopup::`vftable';\n  *((_QWORD *)v16 + 44) = &DemonInfoPopup::`vftable';\n  *((_QWORD *)v16 + 51) = &DemonInfoPopup::`vftable';\n  *((_QWORD *)v16 + 54) = &DemonInfoPopup::`vftable';\n  *((_QWORD *)v16 + 68) = &DemonInfoPopup::`vftable';\n  if ( (unsigned __int8)DemonInfoPopup::init((_DWORD)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 **)(cocos2d::CCObject *, __int64))(*(_QWORD *)v16 + 8LL))(v16, 1);\n    return nullptr;\n  }\n}", "assembly": "; \n; DemonInfoPopup::create from 0x14055ae80 to 0x14055afe4 (356 bytes)\n; \n; 3 xrefs:\n; > DemonInfoPopup::createFromString @ 0x14055ace4\n; > DemonInfoPopup::createFromString @ 0x14055ada8\n; > <???> @ 0x14092c0d8\n; \n; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 11:34:12 +0000\n; \nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x14055ae80\nmov     [rsp+arg_8], rbp                                               ; +0x5, 0x14055ae85\nmov     [rsp+arg_10], rsi                                              ; +0xa, 0x14055ae8a\nmov     [rsp+arg_18], rdi                                              ; +0xf, 0x14055ae8f\npush    r14                                                            ; +0x14, 0x14055ae94\nsub     rsp, 80h                                                       ; +0x16, 0x14055ae96\nmov     ebx, r9d                                                       ; +0x1d, 0x14055ae9d\nmov     edi, r8d                                                       ; +0x20, 0x14055aea0\nmov     esi, edx                                                       ; +0x23, 0x14055aea3\nmov     ebp, ecx                                                       ; +0x25, 0x14055aea5\nmov     ecx, 298h; Size                                                ; +0x27, 0x14055aea7\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x2c, 0x14055aeac\nmov     r14, rax                                                       ; +0x31, 0x14055aeb1\nmov     [rsp+88h+var_18], rax                                          ; +0x34, 0x14055aeb4\nmov     rcx, rax                                                       ; +0x39, 0x14055aeb9\ncall    FLAlertLayer__FLAlertLayer                                     ; +0x3c, 0x14055aebc\nlea     rax, ??_7DemonInfoPopup@@6B@; const DemonInfoPopup::`vftable'  ; +0x41, 0x14055aec1\nmov     [r14], rax                                                     ; +0x48, 0x14055aec8\nlea     rax, ??_7DemonInfoPopup@@6B@_0; const DemonInfoPopup::`vftable' ; +0x4b, 0x14055aecb\nmov     [r14+140h], rax                                                ; +0x52, 0x14055aed2\nlea     rax, ??_7DemonInfoPopup@@6B@_1; const DemonInfoPopup::`vftable' ; +0x59, 0x14055aed9\nmov     [r14+148h], rax                                                ; +0x60, 0x14055aee0\nlea     rax, ??_7DemonInfoPopup@@6B@_2; const DemonInfoPopup::`vftable' ; +0x67, 0x14055aee7\nmov     [r14+150h], rax                                                ; +0x6e, 0x14055aeee\nlea     rax, ??_7DemonInfoPopup@@6B@_3; const DemonInfoPopup::`vftable' ; +0x75, 0x14055aef5\nmov     [r14+158h], rax                                                ; +0x7c, 0x14055aefc\nlea     rax, ??_7DemonInfoPopup@@6B@_4; const DemonInfoPopup::`vftable' ; +0x83, 0x14055af03\nmov     [r14+160h], rax                                                ; +0x8a, 0x14055af0a\nlea     rax, ??_7DemonInfoPopup@@6B@_5; const DemonInfoPopup::`vftable' ; +0x91, 0x14055af11\nmov     [r14+198h], rax                                                ; +0x98, 0x14055af18\nlea     rax, ??_7DemonInfoPopup@@6B@_6; const DemonInfoPopup::`vftable' ; +0x9f, 0x14055af1f\nmov     [r14+1B0h], rax                                                ; +0xa6, 0x14055af26\nlea     rax, ??_7DemonInfoPopup@@6B@_7; const DemonInfoPopup::`vftable' ; +0xad, 0x14055af2d\nmov     [r14+220h], rax                                                ; +0xb4, 0x14055af34\nmov     eax, [rsp+88h+arg_58]                                          ; +0xbb, 0x14055af3b\nmov     [rsp+88h+var_28], eax                                          ; +0xc2, 0x14055af42\nmov     eax, [rsp+88h+arg_50]                                          ; +0xc6, 0x14055af46\nmov     [rsp+88h+var_30], eax                                          ; +0xcd, 0x14055af4d\nmov     eax, [rsp+88h+arg_48]                                          ; +0xd1, 0x14055af51\nmov     [rsp+88h+var_38], eax                                          ; +0xd8, 0x14055af58\nmov     eax, [rsp+88h+arg_40]                                          ; +0xdc, 0x14055af5c\nmov     [rsp+88h+var_40], eax                                          ; +0xe3, 0x14055af63\nmov     eax, [rsp+88h+arg_38]                                          ; +0xe7, 0x14055af67\nmov     [rsp+88h+var_48], eax                                          ; +0xee, 0x14055af6e\nmov     eax, [rsp+88h+arg_30]                                          ; +0xf2, 0x14055af72\nmov     [rsp+88h+var_50], eax                                          ; +0xf9, 0x14055af79\nmov     eax, [rsp+88h+arg_28]                                          ; +0xfd, 0x14055af7d\nmov     [rsp+88h+var_58], eax                                          ; +0x104, 0x14055af84\nmov     ecx, [rsp+88h+arg_20]                                          ; +0x108, 0x14055af88\nmov     [rsp+88h+var_60], ecx                                          ; +0x10f, 0x14055af8f\nmov     [rsp+88h+var_68], ebx                                          ; +0x113, 0x14055af93\nmov     r9d, edi                                                       ; +0x117, 0x14055af97\nmov     r8d, esi                                                       ; +0x11a, 0x14055af9a\nmov     edx, ebp                                                       ; +0x11d, 0x14055af9d\nmov     rcx, r14                                                       ; +0x11f, 0x14055af9f\ncall    DemonInfoPopup__init                                           ; +0x122, 0x14055afa2\nmov     rcx, r14                                                       ; +0x127, 0x14055afa7\ntest    al, al                                                         ; +0x12a, 0x14055afaa\njz      short loc_14055AFB9                                            ; +0x12c, 0x14055afac\ncall    cs:?autorelease@CCObject@cocos2d@@QEAAPEAV12@XZ; cocos2d::CCObject::autorelease(void) ; +0x12e, 0x14055afae\nmov     rax, r14                                                       ; +0x134, 0x14055afb4\njmp     short loc_14055AFC6                                            ; +0x137, 0x14055afb7\nmov     rax, [r14]                                                     ; +0x139, 0x14055afb9\nmov     edx, 1                                                         ; +0x13c, 0x14055afbc\ncall    qword ptr [rax+8]                                              ; +0x141, 0x14055afc1\nxor     eax, eax                                                       ; +0x144, 0x14055afc4\nlea     r11, [rsp+88h+var_8]                                           ; +0x146, 0x14055afc6\nmov     rbx, [r11+10h]                                                 ; +0x14e, 0x14055afce\nmov     rbp, [r11+18h]                                                 ; +0x152, 0x14055afd2\nmov     rsi, [r11+20h]                                                 ; +0x156, 0x14055afd6\nmov     rdi, [r11+28h]                                                 ; +0x15a, 0x14055afda\nmov     rsp, r11                                                       ; +0x15e, 0x14055afde\npop     r14                                                            ; +0x161, 0x14055afe1\nretn                                                                   ; +0x163, 0x14055afe3", "xrefs": ["DemonInfoPopup::createFromString @ 0x14055ace4", "DemonInfoPopup::createFromString @ 0x14055ada8", "<???> @ 0x14092c0d8"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}