{"type": "func", "start": 4302522944, "end": 4302523314, "name": "FriendsProfilePage::create", "pseudocode": "// \n// FriendsProfilePage::create from 0x100734a40 to 0x100734bb2 (370 bytes)\n// \n// 2 xrefs:\n// > FriendsProfilePage::onSwitchList @ 0x100735b42\n// > ProfilePage::onFriends @ 0x1008a44f0\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 12:36:24 +0000\n// \n\nchar *__fastcall FriendsProfilePage::create(unsigned int a1)\n{\n  char *v1; // rbx\n\n  v1 = (char *)operator new(0x3D0u);\n  __bzero(v1, 976);\n  sub_100737E80(v1);\n  *(_QWORD *)v1 = off_100B99D48;\n  *((_QWORD *)v1 + 40) = off_100B9A310;\n  *((_QWORD *)v1 + 41) = &off_100B9A380;\n  *((_QWORD *)v1 + 42) = off_100B9A398;\n  *((_QWORD *)v1 + 43) = off_100B9A3B8;\n  *((_QWORD *)v1 + 44) = off_100B9A3E0;\n  *((_QWORD *)v1 + 51) = off_100B9A410;\n  *((_QWORD *)v1 + 54) = off_100B9A490;\n  *((_QWORD *)v1 + 68) = off_100B9A4B0;\n  *((_QWORD *)v1 + 97) = off_100B9A4F8;\n  *((_QWORD *)v1 + 98) = &off_100B9A528;\n  *((_QWORD *)v1 + 99) = off_100B9A540;\n  *((_QWORD *)v1 + 100) = &off_100B9A560;\n  *((_QWORD *)v1 + 101) = off_100B9A578;\n  *((_DWORD *)v1 + 204) = 0;\n  *(_OWORD *)(v1 + 824) = 0;\n  *(_OWORD *)(v1 + 840) = 0;\n  *(_OWORD *)(v1 + 856) = 0;\n  *(_OWORD *)(v1 + 872) = 0;\n  *(_OWORD *)(v1 + 888) = 0;\n  *(_OWORD *)(v1 + 904) = 0;\n  v1[920] = 0;\n  *((_OWORD *)v1 + 58) = 0;\n  v1[944] = 0;\n  *(_OWORD *)(v1 + 952) = 0;\n  v1[968] = 0;\n  if ( (unsigned __int8)FriendsProfilePage::init(v1, a1) )\n  {\n    cocos2d::CCObject::autorelease((__int64)v1);\n  }\n  else\n  {\n    (*(void (__fastcall **)(char *))(*(_QWORD *)v1 + 16LL))(v1);\n    return nullptr;\n  }\n  return v1;\n}", "assembly": "; \n; FriendsProfilePage::create from 0x100734a40 to 0x100734bb2 (370 bytes)\n; \n; 2 xrefs:\n; > FriendsProfilePage::onSwitchList @ 0x100735b42\n; > ProfilePage::onFriends @ 0x1008a44f0\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 12:36:24 +0000\n; \npush    rbp                                                            ; +0x0, 0x100734a40\nmov     rbp, rsp                                                       ; +0x1, 0x100734a41\npush    r14                                                            ; +0x4, 0x100734a44\npush    rbx                                                            ; +0x6, 0x100734a46\nmov     r14d, edi                                                      ; +0x7, 0x100734a47\nmov     edi, 3D0h; __sz                                                ; +0xa, 0x100734a4a\ncall    __Znwm; operator new(ulong)                                    ; +0xf, 0x100734a4f\nmov     rbx, rax                                                       ; +0x14, 0x100734a54\nmov     esi, 3D0h                                                      ; +0x17, 0x100734a57\nmov     rdi, rax                                                       ; +0x1c, 0x100734a5c\ncall    ___bzero                                                       ; +0x1f, 0x100734a5f\nmov     rdi, rbx                                                       ; +0x24, 0x100734a64\ncall    sub_100737E80                                                  ; +0x27, 0x100734a67\nlea     rax, off_100B99D48                                             ; +0x2c, 0x100734a6c\nmov     [rbx], rax                                                     ; +0x33, 0x100734a73\nlea     rax, off_100B9A310                                             ; +0x36, 0x100734a76\nmov     [rbx+140h], rax                                                ; +0x3d, 0x100734a7d\nlea     rax, off_100B9A380                                             ; +0x44, 0x100734a84\nmov     [rbx+148h], rax                                                ; +0x4b, 0x100734a8b\nlea     rax, off_100B9A398                                             ; +0x52, 0x100734a92\nmov     [rbx+150h], rax                                                ; +0x59, 0x100734a99\nlea     rax, off_100B9A3B8                                             ; +0x60, 0x100734aa0\nmov     [rbx+158h], rax                                                ; +0x67, 0x100734aa7\nlea     rax, off_100B9A3E0                                             ; +0x6e, 0x100734aae\nmov     [rbx+160h], rax                                                ; +0x75, 0x100734ab5\nlea     rax, off_100B9A410                                             ; +0x7c, 0x100734abc\nmov     [rbx+198h], rax                                                ; +0x83, 0x100734ac3\nlea     rax, off_100B9A490                                             ; +0x8a, 0x100734aca\nmov     [rbx+1B0h], rax                                                ; +0x91, 0x100734ad1\nlea     rax, off_100B9A4B0                                             ; +0x98, 0x100734ad8\nmov     [rbx+220h], rax                                                ; +0x9f, 0x100734adf\nlea     rax, off_100B9A4F8                                             ; +0xa6, 0x100734ae6\nmov     [rbx+308h], rax                                                ; +0xad, 0x100734aed\nlea     rax, off_100B9A528                                             ; +0xb4, 0x100734af4\nmov     [rbx+310h], rax                                                ; +0xbb, 0x100734afb\nlea     rax, off_100B9A540                                             ; +0xc2, 0x100734b02\nmov     [rbx+318h], rax                                                ; +0xc9, 0x100734b09\nlea     rax, off_100B9A560                                             ; +0xd0, 0x100734b10\nmov     [rbx+320h], rax                                                ; +0xd7, 0x100734b17\nlea     rax, off_100B9A578                                             ; +0xde, 0x100734b1e\nmov     [rbx+328h], rax                                                ; +0xe5, 0x100734b25\nmov     dword ptr [rbx+330h], 0                                        ; +0xec, 0x100734b2c\nxorps   xmm0, xmm0                                                     ; +0xf6, 0x100734b36\nmovups  xmmword ptr [rbx+338h], xmm0                                   ; +0xf9, 0x100734b39\nmovups  xmmword ptr [rbx+348h], xmm0                                   ; +0x100, 0x100734b40\nmovups  xmmword ptr [rbx+358h], xmm0                                   ; +0x107, 0x100734b47\nmovups  xmmword ptr [rbx+368h], xmm0                                   ; +0x10e, 0x100734b4e\nmovups  xmmword ptr [rbx+378h], xmm0                                   ; +0x115, 0x100734b55\nmovups  xmmword ptr [rbx+388h], xmm0                                   ; +0x11c, 0x100734b5c\nmov     byte ptr [rbx+398h], 0                                         ; +0x123, 0x100734b63\nmovups  xmmword ptr [rbx+3A0h], xmm0                                   ; +0x12a, 0x100734b6a\nmov     byte ptr [rbx+3B0h], 0                                         ; +0x131, 0x100734b71\nmovups  xmmword ptr [rbx+3B8h], xmm0                                   ; +0x138, 0x100734b78\nmov     byte ptr [rbx+3C8h], 0                                         ; +0x13f, 0x100734b7f\nmov     rdi, rbx                                                       ; +0x146, 0x100734b86\nmov     esi, r14d                                                      ; +0x149, 0x100734b89\ncall    FriendsProfilePage__init                                       ; +0x14c, 0x100734b8c\ntest    al, al                                                         ; +0x151, 0x100734b91\njz      short loc_100734B9F                                            ; +0x153, 0x100734b93\nmov     rdi, rbx                                                       ; +0x155, 0x100734b95\ncall    cocos2d__CCObject__autorelease                                 ; +0x158, 0x100734b98\njmp     short loc_100734BAA                                            ; +0x15d, 0x100734b9d\nmov     rax, [rbx]                                                     ; +0x15f, 0x100734b9f\nmov     rdi, rbx                                                       ; +0x162, 0x100734ba2\ncall    qword ptr [rax+10h]                                            ; +0x165, 0x100734ba5\nxor     ebx, ebx                                                       ; +0x168, 0x100734ba8\nmov     rax, rbx                                                       ; +0x16a, 0x100734baa\npop     rbx                                                            ; +0x16d, 0x100734bad\npop     r14                                                            ; +0x16e, 0x100734bae\npop     rbp                                                            ; +0x170, 0x100734bb0\nretn                                                                   ; +0x171, 0x100734bb1", "xrefs": ["FriendsProfilePage::onSwitchList @ 0x100735b42", "ProfilePage::onFriends @ 0x1008a44f0"], "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"}