{"type": "func", "start": 5370884672, "end": 5370885159, "name": "FriendsProfilePage::dFriendsProfilePage", "pseudocode": "// \n// FriendsProfilePage::dFriendsProfilePage from 0x140213240 to 0x140213427 (487 bytes)\n// \n// 3 xrefs:\n// > sub_140217108 @ 0x14021710f\n// > <???> @ 0x140756bc0\n// > <???> @ 0x14091b620\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:28:20 +0000\n// \n\n// Hidden C++ exception states: #wind=1\nchar *__fastcall FriendsProfilePage::dFriendsProfilePage(char *Block, char a2)\n{\n  char *v4; // rsi\n  char *v5; // rdi\n  __int64 v6; // rax\n  void *v7; // rax\n  __int64 v8; // rax\n  __int64 v9; // rax\n  cocos2d::CCObject *v10; // rcx\n  cocos2d::CCObject *v11; // rcx\n  cocos2d::CCObject *v12; // rcx\n  cocos2d::CCObject *v13; // rcx\n\n  *(_QWORD *)Block = &FriendsProfilePage::`vftable';\n  *((_QWORD *)Block + 40) = &FriendsProfilePage::`vftable';\n  *((_QWORD *)Block + 41) = &FriendsProfilePage::`vftable';\n  *((_QWORD *)Block + 42) = &FriendsProfilePage::`vftable';\n  *((_QWORD *)Block + 43) = &FriendsProfilePage::`vftable';\n  *((_QWORD *)Block + 44) = &FriendsProfilePage::`vftable';\n  *((_QWORD *)Block + 51) = &FriendsProfilePage::`vftable';\n  *((_QWORD *)Block + 54) = &FriendsProfilePage::`vftable';\n  *((_QWORD *)Block + 68) = &FriendsProfilePage::`vftable';\n  *((_QWORD *)Block + 97) = &FriendsProfilePage::`vftable';\n  *((_QWORD *)Block + 98) = &FriendsProfilePage::`vftable';\n  v4 = Block + 792;\n  *((_QWORD *)Block + 99) = &FriendsProfilePage::`vftable';\n  *((_QWORD *)Block + 100) = &FriendsProfilePage::`vftable';\n  v5 = Block + 808;\n  *((_QWORD *)Block + 101) = &FriendsProfilePage::`vftable';\n  v6 = *(_QWORD *)&qword_14090BFB0;\n  if ( !*(_QWORD *)&qword_14090BFB0 )\n  {\n    v7 = operator new(0x690u);\n    *(_QWORD *)&qword_14090BFB0 = GameLevelManager::GameLevelManager(v7);\n    (*(void (__fastcall **)(_QWORD))(**(_QWORD **)&qword_14090BFB0 + 72LL))(*(_QWORD *)&qword_14090BFB0);\n    v6 = *(_QWORD *)&qword_14090BFB0;\n  }\n  if ( *(char **)(v6 + 1496) == v5 )\n    *(_QWORD *)(v6 + 1496) = 0;\n  if ( *(char **)(v6 + 1488) == v4 )\n    *(_QWORD *)(v6 + 1488) = 0;\n  v8 = *((_QWORD *)Block + 115);\n  if ( v8 )\n    *(_QWORD *)(v8 + 600) = 0;\n  v9 = *((_QWORD *)Block + 106);\n  if ( v9 )\n    *(_QWORD *)(v9 + 664) = 0;\n  v10 = *((cocos2d::CCObject **)Block + 105);\n  if ( v10 )\n    cocos2d::CCObject::release(v10);\n  v11 = *((cocos2d::CCObject **)Block + 107);\n  if ( v11 )\n    cocos2d::CCObject::release(v11);\n  v12 = *((cocos2d::CCObject **)Block + 108);\n  if ( v12 )\n    cocos2d::CCObject::release(v12);\n  v13 = *((cocos2d::CCObject **)Block + 109);\n  if ( v13 )\n    cocos2d::CCObject::release(v13);\n  sub_14003D310((__int64)(Block + 880));\n  PagedListPopup::dPagedListPopup(Block);\n  if ( (a2 & 1) != 0 )\n    j_j_free(Block);\n  return Block;\n}", "assembly": "; \n; FriendsProfilePage::dFriendsProfilePage from 0x140213240 to 0x140213427 (487 bytes)\n; \n; 3 xrefs:\n; > sub_140217108 @ 0x14021710f\n; > <???> @ 0x140756bc0\n; > <???> @ 0x14091b620\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:28:20 +0000\n; \nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x140213240\nmov     [rsp+arg_8], rbp                                               ; +0x5, 0x140213245\nmov     [rsp+arg_10], rsi                                              ; +0xa, 0x14021324a\npush    rdi                                                            ; +0xf, 0x14021324f\nsub     rsp, 20h                                                       ; +0x10, 0x140213250\nmov     ebp, edx                                                       ; +0x14, 0x140213254\nmov     rbx, rcx                                                       ; +0x16, 0x140213256\nlea     rax, ??_7FriendsProfilePage@@6B@; const FriendsProfilePage::`vftable' ; +0x19, 0x140213259\nmov     [rcx], rax                                                     ; +0x20, 0x140213260\nlea     rax, ??_7FriendsProfilePage@@6B@_0; const FriendsProfilePage::`vftable' ; +0x23, 0x140213263\nmov     [rcx+140h], rax                                                ; +0x2a, 0x14021326a\nlea     rax, ??_7FriendsProfilePage@@6B@_1; const FriendsProfilePage::`vftable' ; +0x31, 0x140213271\nmov     [rcx+148h], rax                                                ; +0x38, 0x140213278\nlea     rax, ??_7FriendsProfilePage@@6B@_2; const FriendsProfilePage::`vftable' ; +0x3f, 0x14021327f\nmov     [rcx+150h], rax                                                ; +0x46, 0x140213286\nlea     rax, ??_7FriendsProfilePage@@6B@_3; const FriendsProfilePage::`vftable' ; +0x4d, 0x14021328d\nmov     [rcx+158h], rax                                                ; +0x54, 0x140213294\nlea     rax, ??_7FriendsProfilePage@@6B@_4; const FriendsProfilePage::`vftable' ; +0x5b, 0x14021329b\nmov     [rcx+160h], rax                                                ; +0x62, 0x1402132a2\nlea     rax, ??_7FriendsProfilePage@@6B@_5; const FriendsProfilePage::`vftable' ; +0x69, 0x1402132a9\nmov     [rcx+198h], rax                                                ; +0x70, 0x1402132b0\nlea     rax, ??_7FriendsProfilePage@@6B@_6; const FriendsProfilePage::`vftable' ; +0x77, 0x1402132b7\nmov     [rcx+1B0h], rax                                                ; +0x7e, 0x1402132be\nlea     rax, ??_7FriendsProfilePage@@6B@_7; const FriendsProfilePage::`vftable' ; +0x85, 0x1402132c5\nmov     [rcx+220h], rax                                                ; +0x8c, 0x1402132cc\nlea     rax, ??_7FriendsProfilePage@@6B@_8; const FriendsProfilePage::`vftable' ; +0x93, 0x1402132d3\nmov     [rcx+308h], rax                                                ; +0x9a, 0x1402132da\nlea     rax, ??_7FriendsProfilePage@@6B@_9; const FriendsProfilePage::`vftable' ; +0xa1, 0x1402132e1\nmov     [rcx+310h], rax                                                ; +0xa8, 0x1402132e8\nlea     rsi, [rcx+318h]                                                ; +0xaf, 0x1402132ef\nlea     rax, ??_7FriendsProfilePage@@6B@_10; const FriendsProfilePage::`vftable' ; +0xb6, 0x1402132f6\nmov     [rsi], rax                                                     ; +0xbd, 0x1402132fd\nlea     rax, ??_7FriendsProfilePage@@6B@_11; const FriendsProfilePage::`vftable' ; +0xc0, 0x140213300\nmov     [rcx+320h], rax                                                ; +0xc7, 0x140213307\nlea     rdi, [rcx+328h]                                                ; +0xce, 0x14021330e\nlea     rax, ??_7FriendsProfilePage@@6B@_12; const FriendsProfilePage::`vftable' ; +0xd5, 0x140213315\nmov     [rdi], rax                                                     ; +0xdc, 0x14021331c\nmov     rax, cs:qword_14090BFB0                                        ; +0xdf, 0x14021331f\ntest    rax, rax                                                       ; +0xe6, 0x140213326\njnz     short loc_140213357                                            ; +0xe9, 0x140213329\nmov     ecx, 690h; Size                                                ; +0xeb, 0x14021332b\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0xf0, 0x140213330\nmov     rcx, rax                                                       ; +0xf5, 0x140213335\ncall    GameLevelManager__GameLevelManager                             ; +0xf8, 0x140213338\nmov     cs:qword_14090BFB0, rax                                        ; +0xfd, 0x14021333d\nmov     rcx, [rax]                                                     ; +0x104, 0x140213344\nmov     rdx, [rcx+48h]                                                 ; +0x107, 0x140213347\nmov     rcx, rax                                                       ; +0x10b, 0x14021334b\ncall    rdx                                                            ; +0x10e, 0x14021334e\nmov     rax, cs:qword_14090BFB0                                        ; +0x110, 0x140213350\nxor     ecx, ecx                                                       ; +0x117, 0x140213357\ncmp     [rax+5D8h], rdi                                                ; +0x119, 0x140213359\njnz     short loc_140213369                                            ; +0x120, 0x140213360\nmov     [rax+5D8h], rcx                                                ; +0x122, 0x140213362\ncmp     [rax+5D0h], rsi                                                ; +0x129, 0x140213369\njnz     short loc_140213379                                            ; +0x130, 0x140213370\nmov     [rax+5D0h], rcx                                                ; +0x132, 0x140213372\nmov     rax, [rbx+398h]                                                ; +0x139, 0x140213379\ntest    rax, rax                                                       ; +0x140, 0x140213380\njz      short loc_14021338C                                            ; +0x143, 0x140213383\nmov     [rax+258h], rcx                                                ; +0x145, 0x140213385\nmov     rax, [rbx+350h]                                                ; +0x14c, 0x14021338c\ntest    rax, rax                                                       ; +0x153, 0x140213393\njz      short loc_14021339F                                            ; +0x156, 0x140213396\nmov     [rax+298h], rcx                                                ; +0x158, 0x140213398\nmov     rcx, [rbx+348h]                                                ; +0x15f, 0x14021339f\ntest    rcx, rcx                                                       ; +0x166, 0x1402133a6\njz      short loc_1402133B1                                            ; +0x169, 0x1402133a9\ncall    cs:?release@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::release(void) ; +0x16b, 0x1402133ab\nmov     rcx, [rbx+358h]                                                ; +0x171, 0x1402133b1\ntest    rcx, rcx                                                       ; +0x178, 0x1402133b8\njz      short loc_1402133C3                                            ; +0x17b, 0x1402133bb\ncall    cs:?release@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::release(void) ; +0x17d, 0x1402133bd\nmov     rcx, [rbx+360h]                                                ; +0x183, 0x1402133c3\ntest    rcx, rcx                                                       ; +0x18a, 0x1402133ca\njz      short loc_1402133D5                                            ; +0x18d, 0x1402133cd\ncall    cs:?release@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::release(void) ; +0x18f, 0x1402133cf\nmov     rcx, [rbx+368h]                                                ; +0x195, 0x1402133d5\ntest    rcx, rcx                                                       ; +0x19c, 0x1402133dc\njz      short loc_1402133E7                                            ; +0x19f, 0x1402133df\ncall    cs:?release@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::release(void) ; +0x1a1, 0x1402133e1\nlea     rcx, [rbx+370h]                                                ; +0x1a7, 0x1402133e7\ncall    sub_14003D310                                                  ; +0x1ae, 0x1402133ee\nmov     rcx, rbx                                                       ; +0x1b3, 0x1402133f3\ncall    PagedListPopup__dPagedListPopup                                ; +0x1b6, 0x1402133f6\nnop                                                                    ; +0x1bb, 0x1402133fb\ntest    bpl, 1                                                         ; +0x1bc, 0x1402133fc\njz      short loc_14021340F                                            ; +0x1c0, 0x140213400\nmov     edx, 3D8h                                                      ; +0x1c2, 0x140213402\nmov     rcx, rbx; Block                                                ; +0x1c7, 0x140213407\ncall    j_j_free                                                       ; +0x1ca, 0x14021340a\nmov     rax, rbx                                                       ; +0x1cf, 0x14021340f\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x1d2, 0x140213412\nmov     rbp, [rsp+28h+arg_8]                                           ; +0x1d7, 0x140213417\nmov     rsi, [rsp+28h+arg_10]                                          ; +0x1dc, 0x14021341c\nadd     rsp, 20h                                                       ; +0x1e1, 0x140213421\npop     rdi                                                            ; +0x1e5, 0x140213425\nretn                                                                   ; +0x1e6, 0x140213426", "xrefs": ["sub_140217108 @ 0x14021710f", "<???> @ 0x140756bc0", "<???> @ 0x14091b620"], "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"}