{"type": "func", "start": 5370885168, "end": 5370885653, "name": "FriendsProfilePage::create", "pseudocode": "// \n// FriendsProfilePage::create from 0x140213430 to 0x140213615 (485 bytes)\n// \n// 3 xrefs:\n// > FriendsProfilePage::onSwitchList @ 0x140217012\n// > ProfilePage::onFriends @ 0x14055984d\n// > <???> @ 0x14091b62c\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\nvoid *__fastcall FriendsProfilePage::create(unsigned int a1)\n{\n  void *v2; // rdi\n\n  v2 = operator new(0x3D8u);\n  memset(v2, 0, 0x3D8u);\n  sub_1400ABC50((__int64)v2);\n  *(_QWORD *)v2 = &FriendsProfilePage::`vftable';\n  *((_QWORD *)v2 + 40) = &FriendsProfilePage::`vftable';\n  *((_QWORD *)v2 + 41) = &FriendsProfilePage::`vftable';\n  *((_QWORD *)v2 + 42) = &FriendsProfilePage::`vftable';\n  *((_QWORD *)v2 + 43) = &FriendsProfilePage::`vftable';\n  *((_QWORD *)v2 + 44) = &FriendsProfilePage::`vftable';\n  *((_QWORD *)v2 + 51) = &FriendsProfilePage::`vftable';\n  *((_QWORD *)v2 + 54) = &FriendsProfilePage::`vftable';\n  *((_QWORD *)v2 + 68) = &FriendsProfilePage::`vftable';\n  *((_QWORD *)v2 + 97) = &FriendsProfilePage::`vftable';\n  *((_QWORD *)v2 + 98) = &FriendsProfilePage::`vftable';\n  *((_QWORD *)v2 + 99) = &FriendsProfilePage::`vftable';\n  *((_QWORD *)v2 + 100) = &FriendsProfilePage::`vftable';\n  *((_QWORD *)v2 + 101) = &FriendsProfilePage::`vftable';\n  *((_DWORD *)v2 + 204) = 0;\n  *((_QWORD *)v2 + 103) = 0;\n  *((_QWORD *)v2 + 104) = 0;\n  *((_QWORD *)v2 + 105) = 0;\n  *((_QWORD *)v2 + 106) = 0;\n  *((_QWORD *)v2 + 107) = 0;\n  *((_QWORD *)v2 + 108) = 0;\n  *((_QWORD *)v2 + 109) = 0;\n  *((_OWORD *)v2 + 55) = 0;\n  *((_QWORD *)v2 + 112) = 0;\n  *((_QWORD *)v2 + 113) = 15;\n  *((_BYTE *)v2 + 880) = 0;\n  *((_QWORD *)v2 + 114) = 0;\n  *((_QWORD *)v2 + 115) = 0;\n  *((_BYTE *)v2 + 928) = 0;\n  *((_QWORD *)v2 + 117) = 0;\n  *((_QWORD *)v2 + 118) = 0;\n  *((_BYTE *)v2 + 952) = 0;\n  *((_QWORD *)v2 + 120) = 0;\n  *((_QWORD *)v2 + 121) = 0;\n  *((_BYTE *)v2 + 976) = 0;\n  if ( (unsigned __int8)FriendsProfilePage::init(v2, a1) )\n  {\n    cocos2d::CCObject::autorelease((cocos2d::CCObject *)v2);\n    return v2;\n  }\n  else\n  {\n    (*(void (__fastcall **)(void *, __int64))(*(_QWORD *)v2 + 8LL))(v2, 1);\n    return nullptr;\n  }\n}", "assembly": "; \n; FriendsProfilePage::create from 0x140213430 to 0x140213615 (485 bytes)\n; \n; 3 xrefs:\n; > FriendsProfilePage::onSwitchList @ 0x140217012\n; > ProfilePage::onFriends @ 0x14055984d\n; > <???> @ 0x14091b62c\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, 0x140213430\nmov     [rsp+arg_10], rsi                                              ; +0x5, 0x140213435\npush    rdi                                                            ; +0xa, 0x14021343a\nsub     rsp, 20h                                                       ; +0xb, 0x14021343b\nmov     ebx, ecx                                                       ; +0xf, 0x14021343f\nmov     ecx, 3D8h; Size                                                ; +0x11, 0x140213441\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x16, 0x140213446\nmov     rdi, rax                                                       ; +0x1b, 0x14021344b\nmov     [rsp+28h+arg_8], rax                                           ; +0x1e, 0x14021344e\nxor     edx, edx; Val                                                  ; +0x23, 0x140213453\nmov     r8d, 3D8h; Size                                                ; +0x25, 0x140213455\nmov     rcx, rax; void *                                               ; +0x2b, 0x14021345b\ncall    memset                                                         ; +0x2e, 0x14021345e\nmov     rcx, rdi                                                       ; +0x33, 0x140213463\ncall    sub_1400ABC50                                                  ; +0x36, 0x140213466\nlea     rax, ??_7FriendsProfilePage@@6B@; const FriendsProfilePage::`vftable' ; +0x3b, 0x14021346b\nmov     [rdi], rax                                                     ; +0x42, 0x140213472\nlea     rax, ??_7FriendsProfilePage@@6B@_0; const FriendsProfilePage::`vftable' ; +0x45, 0x140213475\nmov     [rdi+140h], rax                                                ; +0x4c, 0x14021347c\nlea     rax, ??_7FriendsProfilePage@@6B@_1; const FriendsProfilePage::`vftable' ; +0x53, 0x140213483\nmov     [rdi+148h], rax                                                ; +0x5a, 0x14021348a\nlea     rax, ??_7FriendsProfilePage@@6B@_2; const FriendsProfilePage::`vftable' ; +0x61, 0x140213491\nmov     [rdi+150h], rax                                                ; +0x68, 0x140213498\nlea     rax, ??_7FriendsProfilePage@@6B@_3; const FriendsProfilePage::`vftable' ; +0x6f, 0x14021349f\nmov     [rdi+158h], rax                                                ; +0x76, 0x1402134a6\nlea     rax, ??_7FriendsProfilePage@@6B@_4; const FriendsProfilePage::`vftable' ; +0x7d, 0x1402134ad\nmov     [rdi+160h], rax                                                ; +0x84, 0x1402134b4\nlea     rax, ??_7FriendsProfilePage@@6B@_5; const FriendsProfilePage::`vftable' ; +0x8b, 0x1402134bb\nmov     [rdi+198h], rax                                                ; +0x92, 0x1402134c2\nlea     rax, ??_7FriendsProfilePage@@6B@_6; const FriendsProfilePage::`vftable' ; +0x99, 0x1402134c9\nmov     [rdi+1B0h], rax                                                ; +0xa0, 0x1402134d0\nlea     rax, ??_7FriendsProfilePage@@6B@_7; const FriendsProfilePage::`vftable' ; +0xa7, 0x1402134d7\nmov     [rdi+220h], rax                                                ; +0xae, 0x1402134de\nlea     rax, ??_7FriendsProfilePage@@6B@_8; const FriendsProfilePage::`vftable' ; +0xb5, 0x1402134e5\nmov     [rdi+308h], rax                                                ; +0xbc, 0x1402134ec\nlea     rax, ??_7FriendsProfilePage@@6B@_9; const FriendsProfilePage::`vftable' ; +0xc3, 0x1402134f3\nmov     [rdi+310h], rax                                                ; +0xca, 0x1402134fa\nlea     rax, ??_7FriendsProfilePage@@6B@_10; const FriendsProfilePage::`vftable' ; +0xd1, 0x140213501\nmov     [rdi+318h], rax                                                ; +0xd8, 0x140213508\nlea     rax, ??_7FriendsProfilePage@@6B@_11; const FriendsProfilePage::`vftable' ; +0xdf, 0x14021350f\nmov     [rdi+320h], rax                                                ; +0xe6, 0x140213516\nlea     rax, ??_7FriendsProfilePage@@6B@_12; const FriendsProfilePage::`vftable' ; +0xed, 0x14021351d\nmov     [rdi+328h], rax                                                ; +0xf4, 0x140213524\nxor     esi, esi                                                       ; +0xfb, 0x14021352b\nmov     [rdi+330h], esi                                                ; +0xfd, 0x14021352d\nmov     [rdi+338h], rsi                                                ; +0x103, 0x140213533\nmov     [rdi+340h], rsi                                                ; +0x10a, 0x14021353a\nmov     [rdi+348h], rsi                                                ; +0x111, 0x140213541\nmov     [rdi+350h], rsi                                                ; +0x118, 0x140213548\nmov     [rdi+358h], rsi                                                ; +0x11f, 0x14021354f\nmov     [rdi+360h], rsi                                                ; +0x126, 0x140213556\nmov     [rdi+368h], rsi                                                ; +0x12d, 0x14021355d\nxorps   xmm0, xmm0                                                     ; +0x134, 0x140213564\nmovups  xmmword ptr [rdi+370h], xmm0                                   ; +0x137, 0x140213567\nmov     [rdi+380h], rsi                                                ; +0x13e, 0x14021356e\nmov     qword ptr [rdi+388h], 0Fh                                      ; +0x145, 0x140213575\nmov     [rdi+370h], sil                                                ; +0x150, 0x140213580\nmov     [rdi+390h], rsi                                                ; +0x157, 0x140213587\nmov     [rdi+398h], rsi                                                ; +0x15e, 0x14021358e\nmov     [rdi+3A0h], sil                                                ; +0x165, 0x140213595\nmov     [rdi+3A8h], rsi                                                ; +0x16c, 0x14021359c\nmov     [rdi+3B0h], rsi                                                ; +0x173, 0x1402135a3\nmov     [rdi+3B8h], sil                                                ; +0x17a, 0x1402135aa\nmov     [rdi+3C0h], rsi                                                ; +0x181, 0x1402135b1\nmov     [rdi+3C8h], rsi                                                ; +0x188, 0x1402135b8\nmov     [rdi+3D0h], sil                                                ; +0x18f, 0x1402135bf\nmov     edx, ebx                                                       ; +0x196, 0x1402135c6\nmov     rcx, rdi                                                       ; +0x198, 0x1402135c8\ncall    FriendsProfilePage__init                                       ; +0x19b, 0x1402135cb\ntest    al, al                                                         ; +0x1a0, 0x1402135d0\njz      short loc_1402135F0                                            ; +0x1a2, 0x1402135d2\nmov     rcx, rdi                                                       ; +0x1a4, 0x1402135d4\ncall    cs:?autorelease@CCObject@cocos2d@@QEAAPEAV12@XZ; cocos2d::CCObject::autorelease(void) ; +0x1a7, 0x1402135d7\nmov     rax, rdi                                                       ; +0x1ad, 0x1402135dd\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x1b0, 0x1402135e0\nmov     rsi, [rsp+28h+arg_10]                                          ; +0x1b5, 0x1402135e5\nadd     rsp, 20h                                                       ; +0x1ba, 0x1402135ea\npop     rdi                                                            ; +0x1be, 0x1402135ee\nretn                                                                   ; +0x1bf, 0x1402135ef\nmov     rcx, [rdi]                                                     ; +0x1c0, 0x1402135f0\nmov     r8, [rcx+8]                                                    ; +0x1c3, 0x1402135f3\nmov     edx, 1                                                         ; +0x1c7, 0x1402135f7\nmov     rcx, rdi                                                       ; +0x1cc, 0x1402135fc\ncall    r8                                                             ; +0x1cf, 0x1402135ff\nmov     rax, rsi                                                       ; +0x1d2, 0x140213602\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x1d5, 0x140213605\nmov     rsi, [rsp+28h+arg_10]                                          ; +0x1da, 0x14021360a\nadd     rsp, 20h                                                       ; +0x1df, 0x14021360f\npop     rdi                                                            ; +0x1e3, 0x140213613\nretn                                                                   ; +0x1e4, 0x140213614", "xrefs": ["FriendsProfilePage::onSwitchList @ 0x140217012", "ProfilePage::onFriends @ 0x14055984d", "<???> @ 0x14091b62c"], "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"}