{"type": "func", "start": 5372482688, "end": 5372483016, "name": "FriendRequestPopup::dFriendRequestPopup", "pseudocode": "// \n// FriendRequestPopup::dFriendRequestPopup from 0x140399480 to 0x1403995c8 (328 bytes)\n// \n// 3 xrefs:\n// > sub_1403AC4D4 @ 0x1403ac4db\n// > <???> @ 0x140779150\n// > <???> @ 0x1409231ec\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 FriendRequestPopup::dFriendRequestPopup(char *Block, char a2)\n{\n  char *v4; // rdi\n  __int64 v5; // rax\n  void *v6; // rax\n  cocos2d::CCObject *v7; // rcx\n\n  *(_QWORD *)Block = &FriendRequestPopup::`vftable';\n  *((_QWORD *)Block + 40) = &FriendRequestPopup::`vftable';\n  *((_QWORD *)Block + 41) = &FriendRequestPopup::`vftable';\n  *((_QWORD *)Block + 42) = &FriendRequestPopup::`vftable';\n  *((_QWORD *)Block + 43) = &FriendRequestPopup::`vftable';\n  *((_QWORD *)Block + 44) = &FriendRequestPopup::`vftable';\n  *((_QWORD *)Block + 51) = &FriendRequestPopup::`vftable';\n  *((_QWORD *)Block + 54) = &FriendRequestPopup::`vftable';\n  *((_QWORD *)Block + 68) = &FriendRequestPopup::`vftable';\n  v4 = Block + 664;\n  *((_QWORD *)Block + 83) = &FriendRequestPopup::`vftable';\n  *((_QWORD *)Block + 84) = &FriendRequestPopup::`vftable';\n  *((_QWORD *)Block + 85) = &FriendRequestPopup::`vftable';\n  v5 = *(_QWORD *)&qword_14090BFB0;\n  if ( !*(_QWORD *)&qword_14090BFB0 )\n  {\n    v6 = operator new(0x690u);\n    *(_QWORD *)&qword_14090BFB0 = GameLevelManager::GameLevelManager((__int64)v6);\n    (*(void (__fastcall **)(_QWORD))(**(_QWORD **)&qword_14090BFB0 + 72LL))(*(_QWORD *)&qword_14090BFB0);\n    v5 = *(_QWORD *)&qword_14090BFB0;\n  }\n  if ( *(char **)(v5 + 1488) == v4 )\n    *(_QWORD *)(v5 + 1488) = 0;\n  v7 = *((cocos2d::CCObject **)Block + 87);\n  if ( v7 )\n    cocos2d::CCObject::release(v7);\n  FLAlertLayer::dFLAlertLayer((__int64)Block);\n  if ( (a2 & 1) != 0 )\n    j_j_free(Block);\n  return Block;\n}", "assembly": "; \n; FriendRequestPopup::dFriendRequestPopup from 0x140399480 to 0x1403995c8 (328 bytes)\n; \n; 3 xrefs:\n; > sub_1403AC4D4 @ 0x1403ac4db\n; > <???> @ 0x140779150\n; > <???> @ 0x1409231ec\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, 0x140399480\nmov     [rsp+arg_8], rsi                                               ; +0x5, 0x140399485\npush    rdi                                                            ; +0xa, 0x14039948a\nsub     rsp, 20h                                                       ; +0xb, 0x14039948b\nmov     esi, edx                                                       ; +0xf, 0x14039948f\nmov     rbx, rcx                                                       ; +0x11, 0x140399491\nlea     rax, ??_7FriendRequestPopup@@6B@; const FriendRequestPopup::`vftable' ; +0x14, 0x140399494\nmov     [rcx], rax                                                     ; +0x1b, 0x14039949b\nlea     rax, ??_7FriendRequestPopup@@6B@_0; const FriendRequestPopup::`vftable' ; +0x1e, 0x14039949e\nmov     [rcx+140h], rax                                                ; +0x25, 0x1403994a5\nlea     rax, ??_7FriendRequestPopup@@6B@_1; const FriendRequestPopup::`vftable' ; +0x2c, 0x1403994ac\nmov     [rcx+148h], rax                                                ; +0x33, 0x1403994b3\nlea     rax, ??_7FriendRequestPopup@@6B@_2; const FriendRequestPopup::`vftable' ; +0x3a, 0x1403994ba\nmov     [rcx+150h], rax                                                ; +0x41, 0x1403994c1\nlea     rax, ??_7FriendRequestPopup@@6B@_3; const FriendRequestPopup::`vftable' ; +0x48, 0x1403994c8\nmov     [rcx+158h], rax                                                ; +0x4f, 0x1403994cf\nlea     rax, ??_7FriendRequestPopup@@6B@_4; const FriendRequestPopup::`vftable' ; +0x56, 0x1403994d6\nmov     [rcx+160h], rax                                                ; +0x5d, 0x1403994dd\nlea     rax, ??_7FriendRequestPopup@@6B@_5; const FriendRequestPopup::`vftable' ; +0x64, 0x1403994e4\nmov     [rcx+198h], rax                                                ; +0x6b, 0x1403994eb\nlea     rax, ??_7FriendRequestPopup@@6B@_6; const FriendRequestPopup::`vftable' ; +0x72, 0x1403994f2\nmov     [rcx+1B0h], rax                                                ; +0x79, 0x1403994f9\nlea     rax, ??_7FriendRequestPopup@@6B@_7; const FriendRequestPopup::`vftable' ; +0x80, 0x140399500\nmov     [rcx+220h], rax                                                ; +0x87, 0x140399507\nlea     rdi, [rcx+298h]                                                ; +0x8e, 0x14039950e\nlea     rax, ??_7FriendRequestPopup@@6B@_8; const FriendRequestPopup::`vftable' ; +0x95, 0x140399515\nmov     [rdi], rax                                                     ; +0x9c, 0x14039951c\nlea     rax, ??_7FriendRequestPopup@@6B@_9; const FriendRequestPopup::`vftable' ; +0x9f, 0x14039951f\nmov     [rcx+2A0h], rax                                                ; +0xa6, 0x140399526\nlea     rax, ??_7FriendRequestPopup@@6B@_10; const FriendRequestPopup::`vftable' ; +0xad, 0x14039952d\nmov     [rcx+2A8h], rax                                                ; +0xb4, 0x140399534\nmov     rax, cs:qword_14090BFB0                                        ; +0xbb, 0x14039953b\ntest    rax, rax                                                       ; +0xc2, 0x140399542\njnz     short loc_140399573                                            ; +0xc5, 0x140399545\nmov     ecx, 690h; Size                                                ; +0xc7, 0x140399547\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0xcc, 0x14039954c\nmov     rcx, rax                                                       ; +0xd1, 0x140399551\ncall    GameLevelManager__GameLevelManager                             ; +0xd4, 0x140399554\nmov     cs:qword_14090BFB0, rax                                        ; +0xd9, 0x140399559\nmov     rcx, [rax]                                                     ; +0xe0, 0x140399560\nmov     rdx, [rcx+48h]                                                 ; +0xe3, 0x140399563\nmov     rcx, rax                                                       ; +0xe7, 0x140399567\ncall    rdx                                                            ; +0xea, 0x14039956a\nmov     rax, cs:qword_14090BFB0                                        ; +0xec, 0x14039956c\ncmp     [rax+5D0h], rdi                                                ; +0xf3, 0x140399573\njnz     short loc_140399587                                            ; +0xfa, 0x14039957a\nmov     qword ptr [rax+5D0h], 0                                        ; +0xfc, 0x14039957c\nmov     rcx, [rbx+2B8h]                                                ; +0x107, 0x140399587\ntest    rcx, rcx                                                       ; +0x10e, 0x14039958e\njz      short loc_140399599                                            ; +0x111, 0x140399591\ncall    cs:?release@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::release(void) ; +0x113, 0x140399593\nmov     rcx, rbx                                                       ; +0x119, 0x140399599\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 ; +0x11c, 0x14039959c\nnop                                                                    ; +0x121, 0x1403995a1\ntest    sil, 1                                                         ; +0x122, 0x1403995a2\njz      short loc_1403995B5                                            ; +0x126, 0x1403995a6\nmov     edx, 2D8h                                                      ; +0x128, 0x1403995a8\nmov     rcx, rbx; Block                                                ; +0x12d, 0x1403995ad\ncall    j_j_free                                                       ; +0x130, 0x1403995b0\nmov     rax, rbx                                                       ; +0x135, 0x1403995b5\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x138, 0x1403995b8\nmov     rsi, [rsp+28h+arg_8]                                           ; +0x13d, 0x1403995bd\nadd     rsp, 20h                                                       ; +0x142, 0x1403995c2\npop     rdi                                                            ; +0x146, 0x1403995c6\nretn                                                                   ; +0x147, 0x1403995c7", "xrefs": ["sub_1403AC4D4 @ 0x1403ac4db", "<???> @ 0x140779150", "<???> @ 0x1409231ec"], "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"}