{"type": "func", "start": 5372396000, "end": 5372396259, "name": "ItemInfoPopup::create", "pseudocode": "// \n// ItemInfoPopup::create from 0x1403841e0 to 0x1403842e3 (259 bytes)\n// \n// 5 xrefs:\n// > GJGarageLayer::showUnlockPopup @ 0x140380bf4\n// > GJPathPage::onIconInfo @ 0x1403951bc\n// > ProfilePage::onIconInfo @ 0x140555d36\n// > ShardsPage::onIconInfo @ 0x14062d93c\n// > <???> @ 0x140922a78\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:31:06 +0000\n// \n\n// Hidden C++ exception states: #wind=1\ncocos2d::CCObject *__fastcall ItemInfoPopup::create(unsigned int a1, unsigned int a2)\n{\n  cocos2d::CCObject *v4; // rsi\n\n  v4 = (cocos2d::CCObject *)operator new(0x2A8u);\n  FLAlertLayer::FLAlertLayer((__int64)v4);\n  *(_QWORD *)v4 = &ItemInfoPopup::`vftable';\n  *((_QWORD *)v4 + 40) = &ItemInfoPopup::`vftable';\n  *((_QWORD *)v4 + 41) = &ItemInfoPopup::`vftable';\n  *((_QWORD *)v4 + 42) = &ItemInfoPopup::`vftable';\n  *((_QWORD *)v4 + 43) = &ItemInfoPopup::`vftable';\n  *((_QWORD *)v4 + 44) = &ItemInfoPopup::`vftable';\n  *((_QWORD *)v4 + 51) = &ItemInfoPopup::`vftable';\n  *((_QWORD *)v4 + 54) = &ItemInfoPopup::`vftable';\n  *((_QWORD *)v4 + 68) = &ItemInfoPopup::`vftable';\n  *((_QWORD *)v4 + 83) = 0;\n  if ( (unsigned __int8)ItemInfoPopup::init(v4, a1, a2) )\n  {\n    cocos2d::CCObject::autorelease(v4);\n    return v4;\n  }\n  else\n  {\n    (*(void (__fastcall **)(cocos2d::CCObject *, __int64))(*(_QWORD *)v4 + 8LL))(v4, 1);\n    return nullptr;\n  }\n}", "assembly": "; \n; ItemInfoPopup::create from 0x1403841e0 to 0x1403842e3 (259 bytes)\n; \n; 5 xrefs:\n; > GJGarageLayer::showUnlockPopup @ 0x140380bf4\n; > GJPathPage::onIconInfo @ 0x1403951bc\n; > ProfilePage::onIconInfo @ 0x140555d36\n; > ShardsPage::onIconInfo @ 0x14062d93c\n; > <???> @ 0x140922a78\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:31:06 +0000\n; \nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x1403841e0\nmov     [rsp+arg_8], rsi                                               ; +0x5, 0x1403841e5\npush    rdi                                                            ; +0xa, 0x1403841ea\nsub     rsp, 20h                                                       ; +0xb, 0x1403841eb\nmov     ebx, edx                                                       ; +0xf, 0x1403841ef\nmov     edi, ecx                                                       ; +0x11, 0x1403841f1\nmov     ecx, 2A8h; Size                                                ; +0x13, 0x1403841f3\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x18, 0x1403841f8\nmov     rsi, rax                                                       ; +0x1d, 0x1403841fd\nmov     [rsp+28h+arg_10], rax                                          ; +0x20, 0x140384200\nmov     rcx, rax                                                       ; +0x25, 0x140384205\ncall    FLAlertLayer__FLAlertLayer                                     ; +0x28, 0x140384208\nlea     rax, ??_7ItemInfoPopup@@6B@; const ItemInfoPopup::`vftable'    ; +0x2d, 0x14038420d\nmov     [rsi], rax                                                     ; +0x34, 0x140384214\nlea     rax, ??_7ItemInfoPopup@@6B@_0; const ItemInfoPopup::`vftable'  ; +0x37, 0x140384217\nmov     [rsi+140h], rax                                                ; +0x3e, 0x14038421e\nlea     rax, ??_7ItemInfoPopup@@6B@_1; const ItemInfoPopup::`vftable'  ; +0x45, 0x140384225\nmov     [rsi+148h], rax                                                ; +0x4c, 0x14038422c\nlea     rax, ??_7ItemInfoPopup@@6B@_2; const ItemInfoPopup::`vftable'  ; +0x53, 0x140384233\nmov     [rsi+150h], rax                                                ; +0x5a, 0x14038423a\nlea     rax, ??_7ItemInfoPopup@@6B@_3; const ItemInfoPopup::`vftable'  ; +0x61, 0x140384241\nmov     [rsi+158h], rax                                                ; +0x68, 0x140384248\nlea     rax, ??_7ItemInfoPopup@@6B@_4; const ItemInfoPopup::`vftable'  ; +0x6f, 0x14038424f\nmov     [rsi+160h], rax                                                ; +0x76, 0x140384256\nlea     rax, ??_7ItemInfoPopup@@6B@_5; const ItemInfoPopup::`vftable'  ; +0x7d, 0x14038425d\nmov     [rsi+198h], rax                                                ; +0x84, 0x140384264\nlea     rax, ??_7ItemInfoPopup@@6B@_6; const ItemInfoPopup::`vftable'  ; +0x8b, 0x14038426b\nmov     [rsi+1B0h], rax                                                ; +0x92, 0x140384272\nlea     rax, ??_7ItemInfoPopup@@6B@_7; const ItemInfoPopup::`vftable'  ; +0x99, 0x140384279\nmov     [rsi+220h], rax                                                ; +0xa0, 0x140384280\nmov     qword ptr [rsi+298h], 0                                        ; +0xa7, 0x140384287\nmov     r8d, ebx                                                       ; +0xb2, 0x140384292\nmov     edx, edi                                                       ; +0xb5, 0x140384295\nmov     rcx, rsi                                                       ; +0xb7, 0x140384297\ncall    ItemInfoPopup__init                                            ; +0xba, 0x14038429a\ntest    al, al                                                         ; +0xbf, 0x14038429f\njz      short loc_1403842BF                                            ; +0xc1, 0x1403842a1\nmov     rcx, rsi                                                       ; +0xc3, 0x1403842a3\ncall    cs:?autorelease@CCObject@cocos2d@@QEAAPEAV12@XZ; cocos2d::CCObject::autorelease(void) ; +0xc6, 0x1403842a6\nmov     rax, rsi                                                       ; +0xcc, 0x1403842ac\nmov     rbx, [rsp+28h+arg_0]                                           ; +0xcf, 0x1403842af\nmov     rsi, [rsp+28h+arg_8]                                           ; +0xd4, 0x1403842b4\nadd     rsp, 20h                                                       ; +0xd9, 0x1403842b9\npop     rdi                                                            ; +0xdd, 0x1403842bd\nretn                                                                   ; +0xde, 0x1403842be\nmov     rcx, [rsi]                                                     ; +0xdf, 0x1403842bf\nmov     r8, [rcx+8]                                                    ; +0xe2, 0x1403842c2\nmov     edx, 1                                                         ; +0xe6, 0x1403842c6\nmov     rcx, rsi                                                       ; +0xeb, 0x1403842cb\ncall    r8                                                             ; +0xee, 0x1403842ce\nxor     eax, eax                                                       ; +0xf1, 0x1403842d1\nmov     rbx, [rsp+28h+arg_0]                                           ; +0xf3, 0x1403842d3\nmov     rsi, [rsp+28h+arg_8]                                           ; +0xf8, 0x1403842d8\nadd     rsp, 20h                                                       ; +0xfd, 0x1403842dd\npop     rdi                                                            ; +0x101, 0x1403842e1\nretn                                                                   ; +0x102, 0x1403842e2", "xrefs": ["GJGarageLayer::showUnlockPopup @ 0x140380bf4", "GJPathPage::onIconInfo @ 0x1403951bc", "ProfilePage::onIconInfo @ 0x140555d36", "ShardsPage::onIconInfo @ 0x14062d93c", "<???> @ 0x140922a78"], "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"}