{"type": "func", "start": 5372674160, "end": 5372674475, "name": "StarInfoPopup::create", "pseudocode": "// \n// StarInfoPopup::create from 0x1403c8070 to 0x1403c81ab (315 bytes)\n// \n// 5 xrefs:\n// > StarInfoPopup::createFromString @ 0x1403c7c7c\n// > StarInfoPopup::createFromString @ 0x1403c7d19\n// > StarInfoPopup::createFromStringMoons @ 0x1403c7f34\n// > StarInfoPopup::createFromStringMoons @ 0x1403c7fc9\n// > <???> @ 0x1406d7970\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\nStarInfoPopup *StarInfoPopup::create(int a1, int a2, int a3, int a4, int a5, int a6, int a7, int a8, int a9, bool a10)\n{\n  StarInfoPopup *v14; // r14\n\n  v14 = (StarInfoPopup *)operator new(0x278u);\n  FLAlertLayer::FLAlertLayer(v14);\n  v14->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable = (StarInfoPopup_vtbl *)&StarInfoPopup::`vftable';\n  v14->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCTouchDelegate::__vftable = (cocos2d::CCTouchDelegate_vtbl *)&StarInfoPopup::`vftable';\n  v14->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCAccelerometerDelegate::__vftable = (cocos2d::CCAccelerometerDelegate_vtbl *)&StarInfoPopup::`vftable';\n  v14->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCKeypadDelegate::__vftable = (cocos2d::CCKeypadDelegate_vtbl *)&StarInfoPopup::`vftable';\n  v14->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCKeyboardDelegate::__vftable = (cocos2d::CCKeyboardDelegate_vtbl *)&StarInfoPopup::`vftable';\n  v14->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCMouseDelegate::__vftable = (cocos2d::CCMouseDelegate_vtbl *)&StarInfoPopup::`vftable';\n  v14->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCRGBAProtocol::__vftable = (cocos2d::CCRGBAProtocol_vtbl *)&StarInfoPopup::`vftable';\n  v14->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCBlendProtocol::__vftable = (cocos2d::CCBlendProtocol_vtbl *)&StarInfoPopup::`vftable';\n  if ( StarInfoPopup::init(v14, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10) )\n  {\n    cocos2d::CCObject::autorelease(v14);\n    return v14;\n  }\n  else\n  {\n    ((void (__fastcall *)(StarInfoPopup *, __int64))v14->~StarInfoPopup)(v14, 1);\n    return nullptr;\n  }\n}", "assembly": "; \n; StarInfoPopup::create from 0x1403c8070 to 0x1403c81ab (315 bytes)\n; \n; 5 xrefs:\n; > StarInfoPopup::createFromString @ 0x1403c7c7c\n; > StarInfoPopup::createFromString @ 0x1403c7d19\n; > StarInfoPopup::createFromStringMoons @ 0x1403c7f34\n; > StarInfoPopup::createFromStringMoons @ 0x1403c7fc9\n; > <???> @ 0x1406d7970\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, 0x1403c8070\nmov     [rsp+arg_8], rbp                                               ; +0x5, 0x1403c8075\nmov     [rsp+arg_10], rsi                                              ; +0xa, 0x1403c807a\nmov     [rsp+arg_18], rdi                                              ; +0xf, 0x1403c807f\npush    r14                                                            ; +0x14, 0x1403c8084\nsub     rsp, 70h                                                       ; +0x16, 0x1403c8086\nmov     ebx, r9d                                                       ; +0x1a, 0x1403c808a\nmov     edi, r8d                                                       ; +0x1d, 0x1403c808d\nmov     esi, edx                                                       ; +0x20, 0x1403c8090\nmov     ebp, ecx                                                       ; +0x22, 0x1403c8092\nmov     ecx, 278h; Size                                                ; +0x24, 0x1403c8094\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x29, 0x1403c8099\nmov     r14, rax                                                       ; +0x2e, 0x1403c809e\nmov     [rsp+78h+var_18], rax                                          ; +0x31, 0x1403c80a1\nmov     rcx, rax                                                       ; +0x36, 0x1403c80a6\ncall    FLAlertLayer__FLAlertLayer                                     ; +0x39, 0x1403c80a9\nlea     rax, ??_7StarInfoPopup@@6B@; const StarInfoPopup::`vftable'    ; +0x3e, 0x1403c80ae\nmov     [r14], rax                                                     ; +0x45, 0x1403c80b5\nlea     rax, ??_7StarInfoPopup@@6B@_0; const StarInfoPopup::`vftable'  ; +0x48, 0x1403c80b8\nmov     [r14+140h], rax                                                ; +0x4f, 0x1403c80bf\nlea     rax, ??_7StarInfoPopup@@6B@_1; const StarInfoPopup::`vftable'  ; +0x56, 0x1403c80c6\nmov     [r14+148h], rax                                                ; +0x5d, 0x1403c80cd\nlea     rax, ??_7StarInfoPopup@@6B@_2; const StarInfoPopup::`vftable'  ; +0x64, 0x1403c80d4\nmov     [r14+150h], rax                                                ; +0x6b, 0x1403c80db\nlea     rax, ??_7StarInfoPopup@@6B@_3; const StarInfoPopup::`vftable'  ; +0x72, 0x1403c80e2\nmov     [r14+158h], rax                                                ; +0x79, 0x1403c80e9\nlea     rax, ??_7StarInfoPopup@@6B@_4; const StarInfoPopup::`vftable'  ; +0x80, 0x1403c80f0\nmov     [r14+160h], rax                                                ; +0x87, 0x1403c80f7\nlea     rax, ??_7StarInfoPopup@@6B@_5; const StarInfoPopup::`vftable'  ; +0x8e, 0x1403c80fe\nmov     [r14+198h], rax                                                ; +0x95, 0x1403c8105\nlea     rax, ??_7StarInfoPopup@@6B@_6; const StarInfoPopup::`vftable'  ; +0x9c, 0x1403c810c\nmov     [r14+1B0h], rax                                                ; +0xa3, 0x1403c8113\nmovzx   eax, [rsp+78h+arg_48]                                          ; +0xaa, 0x1403c811a\nmov     [rsp+78h+var_28], al                                           ; +0xb2, 0x1403c8122\nmov     eax, [rsp+78h+arg_40]                                          ; +0xb6, 0x1403c8126\nmov     [rsp+78h+var_30], eax                                          ; +0xbd, 0x1403c812d\nmov     eax, [rsp+78h+arg_38]                                          ; +0xc1, 0x1403c8131\nmov     [rsp+78h+var_38], eax                                          ; +0xc8, 0x1403c8138\nmov     eax, [rsp+78h+arg_30]                                          ; +0xcc, 0x1403c813c\nmov     [rsp+78h+var_40], eax                                          ; +0xd3, 0x1403c8143\nmov     eax, [rsp+78h+arg_28]                                          ; +0xd7, 0x1403c8147\nmov     [rsp+78h+var_48], eax                                          ; +0xde, 0x1403c814e\nmov     ecx, [rsp+78h+arg_20]                                          ; +0xe2, 0x1403c8152\nmov     [rsp+78h+var_50], ecx                                          ; +0xe9, 0x1403c8159\nmov     [rsp+78h+var_58], ebx                                          ; +0xed, 0x1403c815d\nmov     r9d, edi                                                       ; +0xf1, 0x1403c8161\nmov     r8d, esi                                                       ; +0xf4, 0x1403c8164\nmov     edx, ebp                                                       ; +0xf7, 0x1403c8167\nmov     rcx, r14                                                       ; +0xf9, 0x1403c8169\ncall    StarInfoPopup__init                                            ; +0xfc, 0x1403c816c\nmov     rcx, r14                                                       ; +0x101, 0x1403c8171\ntest    al, al                                                         ; +0x104, 0x1403c8174\njz      short loc_1403C8183                                            ; +0x106, 0x1403c8176\ncall    cs:?autorelease@CCObject@cocos2d@@QEAAPEAV12@XZ; cocos2d::CCObject::autorelease(void) ; +0x108, 0x1403c8178\nmov     rax, r14                                                       ; +0x10e, 0x1403c817e\njmp     short loc_1403C8190                                            ; +0x111, 0x1403c8181\nmov     rax, [r14]                                                     ; +0x113, 0x1403c8183\nmov     edx, 1                                                         ; +0x116, 0x1403c8186\ncall    qword ptr [rax+8]                                              ; +0x11b, 0x1403c818b\nxor     eax, eax                                                       ; +0x11e, 0x1403c818e\nlea     r11, [rsp+78h+var_8]                                           ; +0x120, 0x1403c8190\nmov     rbx, [r11+10h]                                                 ; +0x125, 0x1403c8195\nmov     rbp, [r11+18h]                                                 ; +0x129, 0x1403c8199\nmov     rsi, [r11+20h]                                                 ; +0x12d, 0x1403c819d\nmov     rdi, [r11+28h]                                                 ; +0x131, 0x1403c81a1\nmov     rsp, r11                                                       ; +0x135, 0x1403c81a5\npop     r14                                                            ; +0x138, 0x1403c81a8\nretn                                                                   ; +0x13a, 0x1403c81aa", "xrefs": ["StarInfoPopup::createFromString @ 0x1403c7c7c", "StarInfoPopup::createFromString @ 0x1403c7d19", "StarInfoPopup::createFromStringMoons @ 0x1403c7f34", "StarInfoPopup::createFromStringMoons @ 0x1403c7fc9", "<???> @ 0x1406d7970"], "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"}