{"type": "func", "start": 5372483024, "end": 5372483393, "name": "GJMessagePopup::dGJMessagePopup", "pseudocode": "// \n// GJMessagePopup::dGJMessagePopup from 0x1403995d0 to 0x140399741 (369 bytes)\n// \n// 3 xrefs:\n// > sub_1403AC540 @ 0x1403ac547\n// > <???> @ 0x14077b048\n// > <???> @ 0x1409231f8\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:14 +0000\n// \n\n// Hidden C++ exception states: #wind=1\nchar *__fastcall GJMessagePopup::dGJMessagePopup(char *Block, char a2)\n{\n  char *v4; // rdi\n  char *v5; // rsi\n  __int64 v6; // rax\n  void *v7; // rax\n  cocos2d::CCObject *v8; // rcx\n\n  *(_QWORD *)Block = &GJMessagePopup::`vftable';\n  *((_QWORD *)Block + 40) = &GJMessagePopup::`vftable';\n  *((_QWORD *)Block + 41) = &GJMessagePopup::`vftable';\n  *((_QWORD *)Block + 42) = &GJMessagePopup::`vftable';\n  *((_QWORD *)Block + 43) = &GJMessagePopup::`vftable';\n  *((_QWORD *)Block + 44) = &GJMessagePopup::`vftable';\n  *((_QWORD *)Block + 51) = &GJMessagePopup::`vftable';\n  *((_QWORD *)Block + 54) = &GJMessagePopup::`vftable';\n  *((_QWORD *)Block + 68) = &GJMessagePopup::`vftable';\n  v4 = Block + 664;\n  *((_QWORD *)Block + 83) = &GJMessagePopup::`vftable';\n  *((_QWORD *)Block + 84) = &GJMessagePopup::`vftable';\n  *((_QWORD *)Block + 85) = &GJMessagePopup::`vftable';\n  v5 = Block + 688;\n  *((_QWORD *)Block + 86) = &GJMessagePopup::`vftable';\n  v6 = *(_QWORD *)&qword_14090BFB0;\n  if ( !*(_QWORD *)&qword_14090BFB0 )\n  {\n    v7 = operator new(0x690u);\n    *(_QWORD *)&qword_14090BFB0 = GameLevelManager::GameLevelManager((__int64)v7);\n    (*(void (__fastcall **)(_QWORD))(**(_QWORD **)&qword_14090BFB0 + 72LL))(*(_QWORD *)&qword_14090BFB0);\n    v6 = *(_QWORD *)&qword_14090BFB0;\n  }\n  if ( *(char **)(v6 + 1488) == v4 )\n    *(_QWORD *)(v6 + 1488) = 0;\n  if ( *(char **)(v6 + 1520) == v5 )\n    *(_QWORD *)(v6 + 1520) = 0;\n  v8 = *((cocos2d::CCObject **)Block + 89);\n  if ( v8 )\n    cocos2d::CCObject::release(v8);\n  FLAlertLayer::dFLAlertLayer((__int64)Block);\n  if ( (a2 & 1) != 0 )\n    j_j_free(Block);\n  return Block;\n}", "assembly": "; \n; GJMessagePopup::dGJMessagePopup from 0x1403995d0 to 0x140399741 (369 bytes)\n; \n; 3 xrefs:\n; > sub_1403AC540 @ 0x1403ac547\n; > <???> @ 0x14077b048\n; > <???> @ 0x1409231f8\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:14 +0000\n; \nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x1403995d0\nmov     [rsp+arg_8], rbp                                               ; +0x5, 0x1403995d5\nmov     [rsp+arg_10], rsi                                              ; +0xa, 0x1403995da\npush    rdi                                                            ; +0xf, 0x1403995df\nsub     rsp, 20h                                                       ; +0x10, 0x1403995e0\nmov     ebp, edx                                                       ; +0x14, 0x1403995e4\nmov     rbx, rcx                                                       ; +0x16, 0x1403995e6\nlea     rax, ??_7GJMessagePopup@@6B@; const GJMessagePopup::`vftable'  ; +0x19, 0x1403995e9\nmov     [rcx], rax                                                     ; +0x20, 0x1403995f0\nlea     rax, ??_7GJMessagePopup@@6B@_0; const GJMessagePopup::`vftable' ; +0x23, 0x1403995f3\nmov     [rcx+140h], rax                                                ; +0x2a, 0x1403995fa\nlea     rax, ??_7GJMessagePopup@@6B@_1; const GJMessagePopup::`vftable' ; +0x31, 0x140399601\nmov     [rcx+148h], rax                                                ; +0x38, 0x140399608\nlea     rax, ??_7GJMessagePopup@@6B@_2; const GJMessagePopup::`vftable' ; +0x3f, 0x14039960f\nmov     [rcx+150h], rax                                                ; +0x46, 0x140399616\nlea     rax, ??_7GJMessagePopup@@6B@_3; const GJMessagePopup::`vftable' ; +0x4d, 0x14039961d\nmov     [rcx+158h], rax                                                ; +0x54, 0x140399624\nlea     rax, ??_7GJMessagePopup@@6B@_4; const GJMessagePopup::`vftable' ; +0x5b, 0x14039962b\nmov     [rcx+160h], rax                                                ; +0x62, 0x140399632\nlea     rax, ??_7GJMessagePopup@@6B@_5; const GJMessagePopup::`vftable' ; +0x69, 0x140399639\nmov     [rcx+198h], rax                                                ; +0x70, 0x140399640\nlea     rax, ??_7GJMessagePopup@@6B@_6; const GJMessagePopup::`vftable' ; +0x77, 0x140399647\nmov     [rcx+1B0h], rax                                                ; +0x7e, 0x14039964e\nlea     rax, ??_7GJMessagePopup@@6B@_7; const GJMessagePopup::`vftable' ; +0x85, 0x140399655\nmov     [rcx+220h], rax                                                ; +0x8c, 0x14039965c\nlea     rdi, [rcx+298h]                                                ; +0x93, 0x140399663\nlea     rax, ??_7GJMessagePopup@@6B@_8; const GJMessagePopup::`vftable' ; +0x9a, 0x14039966a\nmov     [rdi], rax                                                     ; +0xa1, 0x140399671\nlea     rax, ??_7GJMessagePopup@@6B@_9; const GJMessagePopup::`vftable' ; +0xa4, 0x140399674\nmov     [rcx+2A0h], rax                                                ; +0xab, 0x14039967b\nlea     rax, ??_7GJMessagePopup@@6B@_10; const GJMessagePopup::`vftable' ; +0xb2, 0x140399682\nmov     [rcx+2A8h], rax                                                ; +0xb9, 0x140399689\nlea     rsi, [rcx+2B0h]                                                ; +0xc0, 0x140399690\nlea     rax, ??_7GJMessagePopup@@6B@_11; const GJMessagePopup::`vftable' ; +0xc7, 0x140399697\nmov     [rsi], rax                                                     ; +0xce, 0x14039969e\nmov     rax, cs:qword_14090BFB0                                        ; +0xd1, 0x1403996a1\ntest    rax, rax                                                       ; +0xd8, 0x1403996a8\njnz     short loc_1403996D9                                            ; +0xdb, 0x1403996ab\nmov     ecx, 690h; Size                                                ; +0xdd, 0x1403996ad\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0xe2, 0x1403996b2\nmov     rcx, rax                                                       ; +0xe7, 0x1403996b7\ncall    GameLevelManager__GameLevelManager                             ; +0xea, 0x1403996ba\nmov     cs:qword_14090BFB0, rax                                        ; +0xef, 0x1403996bf\nmov     rcx, [rax]                                                     ; +0xf6, 0x1403996c6\nmov     rdx, [rcx+48h]                                                 ; +0xf9, 0x1403996c9\nmov     rcx, rax                                                       ; +0xfd, 0x1403996cd\ncall    rdx                                                            ; +0x100, 0x1403996d0\nmov     rax, cs:qword_14090BFB0                                        ; +0x102, 0x1403996d2\nxor     ecx, ecx                                                       ; +0x109, 0x1403996d9\ncmp     [rax+5D0h], rdi                                                ; +0x10b, 0x1403996db\njnz     short loc_1403996EB                                            ; +0x112, 0x1403996e2\nmov     [rax+5D0h], rcx                                                ; +0x114, 0x1403996e4\ncmp     [rax+5F0h], rsi                                                ; +0x11b, 0x1403996eb\njnz     short loc_1403996FB                                            ; +0x122, 0x1403996f2\nmov     [rax+5F0h], rcx                                                ; +0x124, 0x1403996f4\nmov     rcx, [rbx+2C8h]                                                ; +0x12b, 0x1403996fb\ntest    rcx, rcx                                                       ; +0x132, 0x140399702\njz      short loc_14039970D                                            ; +0x135, 0x140399705\ncall    cs:?release@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::release(void) ; +0x137, 0x140399707\nmov     rcx, rbx                                                       ; +0x13d, 0x14039970d\ncall    FLAlertLayer__dFLAlertLayer; Merged with: FLAlertLayer::~FLAlertLayer, DailyRecallUnlockPopup::~DailyRecallUnlockPopup, DemonInfoPopup::~DemonInfoPopup, EditorSoundsSettingsPopup::~EditorSoundsSettingsPopup, GJPathRewardPopup::~GJPathRewardPopup, GJPromoPopup::~GJPromoPopup, LevelStatsInfoPopup::~LevelStatsInfoPopup, NCSInfoLayer::~NCSInfoLayer, NewgroundsInfoLayer::~NewgroundsInfoLayer, SelectSFXSortLayer::~SelectSFXSortLayer, StarInfoPopup::~StarInfoPopup ; +0x140, 0x140399710\nnop                                                                    ; +0x145, 0x140399715\ntest    bpl, 1                                                         ; +0x146, 0x140399716\njz      short loc_140399729                                            ; +0x14a, 0x14039971a\nmov     edx, 2E8h                                                      ; +0x14c, 0x14039971c\nmov     rcx, rbx; Block                                                ; +0x151, 0x140399721\ncall    j_j_free                                                       ; +0x154, 0x140399724\nmov     rax, rbx                                                       ; +0x159, 0x140399729\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x15c, 0x14039972c\nmov     rbp, [rsp+28h+arg_8]                                           ; +0x161, 0x140399731\nmov     rsi, [rsp+28h+arg_10]                                          ; +0x166, 0x140399736\nadd     rsp, 20h                                                       ; +0x16b, 0x14039973b\npop     rdi                                                            ; +0x16f, 0x14039973f\nretn                                                                   ; +0x170, 0x140399740", "xrefs": ["sub_1403AC540 @ 0x1403ac547", "<???> @ 0x14077b048", "<???> @ 0x1409231f8"], "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"}