{"type": "func", "start": 4301617776, "end": 4301618145, "name": "FriendsProfilePage::create", "pseudocode": "// \n// FriendsProfilePage::create from 0x100657a70 to 0x100657be1 (369 bytes)\n// \n// 3 xrefs:\n// > FriendsProfilePage::onClose @ 0x10065832a\n// > FriendsProfilePage::onBlocked @ 0x1006583e4\n// > ProfilePage::onFriends @ 0x1007be700\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\nFriendsProfilePage *__fastcall FriendsProfilePage::create(UserListType a1)\n{\n  char *v1; // rbx\n\n  v1 = (char *)operator new(0x2D8u);\n  cocos2d::CCLayerColor::CCLayerColor((__int64)v1);\n  *((_QWORD *)v1 + 72) = 0;\n  *((_DWORD *)v1 + 146) = 0;\n  v1[588] = 0;\n  *((_OWORD *)v1 + 34) = 0;\n  *(_OWORD *)(v1 + 553) = 0;\n  *((_OWORD *)v1 + 37) = 0;\n  *((_QWORD *)v1 + 76) = 0;\n  *((_DWORD *)v1 + 154) = -1;\n  *((_WORD *)v1 + 310) = 0;\n  *((_DWORD *)v1 + 156) = -1;\n  v1[628] = 0;\n  *(_QWORD *)v1 = off_100985FB8;\n  *((_QWORD *)v1 + 40) = off_1009864F8;\n  *((_QWORD *)v1 + 41) = &off_100986568;\n  *((_QWORD *)v1 + 42) = off_100986580;\n  *((_QWORD *)v1 + 43) = off_1009865A0;\n  *((_QWORD *)v1 + 44) = off_1009865C0;\n  *((_QWORD *)v1 + 51) = off_1009865E8;\n  *((_QWORD *)v1 + 54) = off_100986668;\n  *((_QWORD *)v1 + 79) = &off_100986688;\n  *((_QWORD *)v1 + 80) = off_1009866A0;\n  *((_QWORD *)v1 + 81) = &off_1009866C0;\n  *((_QWORD *)v1 + 82) = off_1009866D8;\n  *((_DWORD *)v1 + 166) = 0;\n  *((_OWORD *)v1 + 44) = 0;\n  *((_OWORD *)v1 + 43) = 0;\n  *((_OWORD *)v1 + 42) = 0;\n  if ( FriendsProfilePage::init((FriendsProfilePage *)v1, a1) )\n  {\n    cocos2d::CCObject::autorelease((cocos2d::CCObject *)v1);\n  }\n  else\n  {\n    (*(void (__fastcall **)(char *))(*(_QWORD *)v1 + 16LL))(v1);\n    return nullptr;\n  }\n  return (FriendsProfilePage *)v1;\n}", "assembly": "; \n; FriendsProfilePage::create from 0x100657a70 to 0x100657be1 (369 bytes)\n; \n; 3 xrefs:\n; > FriendsProfilePage::onClose @ 0x10065832a\n; > FriendsProfilePage::onBlocked @ 0x1006583e4\n; > ProfilePage::onFriends @ 0x1007be700\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\npush    rbp                                                            ; +0x0, 0x100657a70\nmov     rbp, rsp                                                       ; +0x1, 0x100657a71\npush    r14                                                            ; +0x4, 0x100657a74\npush    rbx                                                            ; +0x6, 0x100657a76\nmov     r14d, edi                                                      ; +0x7, 0x100657a77\nmov     edi, 2D8h; __sz                                                ; +0xa, 0x100657a7a\ncall    __Znwm; operator new(ulong)                                    ; +0xf, 0x100657a7f\nmov     rbx, rax                                                       ; +0x14, 0x100657a84\nmov     rdi, rax                                                       ; +0x17, 0x100657a87\ncall    cocos2d__CCLayerColor__CCLayerColor                            ; +0x1a, 0x100657a8a\nmov     qword ptr [rbx+240h], 0                                        ; +0x1f, 0x100657a8f\nmov     dword ptr [rbx+248h], 0                                        ; +0x2a, 0x100657a9a\nmov     byte ptr [rbx+24Ch], 0                                         ; +0x34, 0x100657aa4\nxorps   xmm0, xmm0                                                     ; +0x3b, 0x100657aab\nmovups  xmmword ptr [rbx+220h], xmm0                                   ; +0x3e, 0x100657aae\nmovups  xmmword ptr [rbx+229h], xmm0                                   ; +0x45, 0x100657ab5\nmovups  xmmword ptr [rbx+250h], xmm0                                   ; +0x4c, 0x100657abc\nmov     qword ptr [rbx+260h], 0                                        ; +0x53, 0x100657ac3\nmov     dword ptr [rbx+268h], 0FFFFFFFFh                               ; +0x5e, 0x100657ace\nmov     word ptr [rbx+26Ch], 0                                         ; +0x68, 0x100657ad8\nmov     dword ptr [rbx+270h], 0FFFFFFFFh                               ; +0x71, 0x100657ae1\nmov     byte ptr [rbx+274h], 0                                         ; +0x7b, 0x100657aeb\nlea     rax, off_100985FB8                                             ; +0x82, 0x100657af2\nmov     [rbx], rax                                                     ; +0x89, 0x100657af9\nlea     rax, off_1009864F8                                             ; +0x8c, 0x100657afc\nmov     [rbx+140h], rax                                                ; +0x93, 0x100657b03\nlea     rax, off_100986568                                             ; +0x9a, 0x100657b0a\nmov     [rbx+148h], rax                                                ; +0xa1, 0x100657b11\nlea     rax, off_100986580                                             ; +0xa8, 0x100657b18\nmov     [rbx+150h], rax                                                ; +0xaf, 0x100657b1f\nlea     rax, off_1009865A0                                             ; +0xb6, 0x100657b26\nmov     [rbx+158h], rax                                                ; +0xbd, 0x100657b2d\nlea     rax, off_1009865C0                                             ; +0xc4, 0x100657b34\nmov     [rbx+160h], rax                                                ; +0xcb, 0x100657b3b\nlea     rax, off_1009865E8                                             ; +0xd2, 0x100657b42\nmov     [rbx+198h], rax                                                ; +0xd9, 0x100657b49\nlea     rax, off_100986668                                             ; +0xe0, 0x100657b50\nmov     [rbx+1B0h], rax                                                ; +0xe7, 0x100657b57\nlea     rax, off_100986688                                             ; +0xee, 0x100657b5e\nmov     [rbx+278h], rax                                                ; +0xf5, 0x100657b65\nlea     rax, off_1009866A0                                             ; +0xfc, 0x100657b6c\nmov     [rbx+280h], rax                                                ; +0x103, 0x100657b73\nlea     rax, off_1009866C0                                             ; +0x10a, 0x100657b7a\nmov     [rbx+288h], rax                                                ; +0x111, 0x100657b81\nlea     rax, off_1009866D8                                             ; +0x118, 0x100657b88\nmov     [rbx+290h], rax                                                ; +0x11f, 0x100657b8f\nmov     dword ptr [rbx+298h], 0                                        ; +0x126, 0x100657b96\nmovups  xmmword ptr [rbx+2C0h], xmm0                                   ; +0x130, 0x100657ba0\nmovups  xmmword ptr [rbx+2B0h], xmm0                                   ; +0x137, 0x100657ba7\nmovups  xmmword ptr [rbx+2A0h], xmm0                                   ; +0x13e, 0x100657bae\nmov     rdi, rbx                                                       ; +0x145, 0x100657bb5\nmov     esi, r14d                                                      ; +0x148, 0x100657bb8\ncall    FriendsProfilePage__init                                       ; +0x14b, 0x100657bbb\ntest    al, al                                                         ; +0x150, 0x100657bc0\njz      short loc_100657BCE                                            ; +0x152, 0x100657bc2\nmov     rdi, rbx                                                       ; +0x154, 0x100657bc4\ncall    cocos2d__CCObject__autorelease                                 ; +0x157, 0x100657bc7\njmp     short loc_100657BD9                                            ; +0x15c, 0x100657bcc\nmov     rax, [rbx]                                                     ; +0x15e, 0x100657bce\nmov     rdi, rbx                                                       ; +0x161, 0x100657bd1\ncall    qword ptr [rax+10h]                                            ; +0x164, 0x100657bd4\nxor     ebx, ebx                                                       ; +0x167, 0x100657bd7\nmov     rax, rbx                                                       ; +0x169, 0x100657bd9\npop     rbx                                                            ; +0x16c, 0x100657bdc\npop     r14                                                            ; +0x16d, 0x100657bdd\npop     rbp                                                            ; +0x16f, 0x100657bdf\nretn                                                                   ; +0x170, 0x100657be0", "xrefs": ["FriendsProfilePage::onClose @ 0x10065832a", "FriendsProfilePage::onBlocked @ 0x1006583e4", "ProfilePage::onFriends @ 0x1007be700"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}