{"type": "func", "start": 5370018896, "end": 5370019226, "name": "FriendsProfilePage::create", "pseudocode": "// \n// FriendsProfilePage::create from 0x14013fc50 to 0x14013fd9a (330 bytes)\n// \n// 4 xrefs:\n// > FriendsProfilePage::onBlocked @ 0x140140be8\n// > FriendsProfilePage::onClose @ 0x140140c9f\n// > ProfilePage::onFriends @ 0x1403c5e8d\n// > <???> @ 0x1406ca290\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\n// Hidden C++ exception states: #wind=1\nFriendsProfilePage *FriendsProfilePage::create(UserListType a1)\n{\n  FriendsProfilePage *v2; // rdi\n\n  v2 = (FriendsProfilePage *)operator new(0x2D8u);\n  FLAlertLayer::FLAlertLayer(v2);\n  v2->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable = (FriendsProfilePage_vtbl *)&FriendsProfilePage::`vftable';\n  v2->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCTouchDelegate::__vftable = (cocos2d::CCTouchDelegate_vtbl *)&FriendsProfilePage::`vftable';\n  v2->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCAccelerometerDelegate::__vftable = (cocos2d::CCAccelerometerDelegate_vtbl *)&FriendsProfilePage::`vftable';\n  v2->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCKeypadDelegate::__vftable = (cocos2d::CCKeypadDelegate_vtbl *)&FriendsProfilePage::`vftable';\n  v2->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCKeyboardDelegate::__vftable = (cocos2d::CCKeyboardDelegate_vtbl *)&FriendsProfilePage::`vftable';\n  v2->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCMouseDelegate::__vftable = (cocos2d::CCMouseDelegate_vtbl *)&FriendsProfilePage::`vftable';\n  v2->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCRGBAProtocol::__vftable = (cocos2d::CCRGBAProtocol_vtbl *)&FriendsProfilePage::`vftable';\n  v2->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCBlendProtocol::__vftable = (cocos2d::CCBlendProtocol_vtbl *)&FriendsProfilePage::`vftable';\n  v2->FLAlertLayerProtocol::__vftable = (FLAlertLayerProtocol_vtbl *)&FriendsProfilePage::`vftable';\n  v2->UploadActionDelegate::__vftable = (UploadActionDelegate_vtbl *)&FriendsProfilePage::`vftable';\n  v2->UploadPopupDelegate::__vftable = (UploadPopupDelegate_vtbl *)&FriendsProfilePage::`vftable';\n  v2->UserListDelegate::__vftable = (UserListDelegate_vtbl *)&FriendsProfilePage::`vftable';\n  v2->m_type = 0;\n  v2->m_noInternet = nullptr;\n  v2->m_totalFriends = nullptr;\n  v2->m_listLayer = nullptr;\n  v2->m_circle = nullptr;\n  v2->m_unk532 = nullptr;\n  v2->m_users = nullptr;\n  if ( FriendsProfilePage::init(v2, a1) )\n  {\n    cocos2d::CCObject::autorelease(v2);\n    return v2;\n  }\n  else\n  {\n    ((void (__fastcall *)(FriendsProfilePage *, __int64))v2->~FriendsProfilePage)(v2, 1);\n    return nullptr;\n  }\n}", "assembly": "; \n; FriendsProfilePage::create from 0x14013fc50 to 0x14013fd9a (330 bytes)\n; \n; 4 xrefs:\n; > FriendsProfilePage::onBlocked @ 0x140140be8\n; > FriendsProfilePage::onClose @ 0x140140c9f\n; > ProfilePage::onFriends @ 0x1403c5e8d\n; > <???> @ 0x1406ca290\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\nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x14013fc50\nmov     [rsp+arg_10], rsi                                              ; +0x5, 0x14013fc55\npush    rdi                                                            ; +0xa, 0x14013fc5a\nsub     rsp, 20h                                                       ; +0xb, 0x14013fc5b\nmov     ebx, ecx                                                       ; +0xf, 0x14013fc5f\nmov     ecx, 2D8h; Size                                                ; +0x11, 0x14013fc61\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x16, 0x14013fc66\nmov     rdi, rax                                                       ; +0x1b, 0x14013fc6b\nmov     [rsp+28h+arg_8], rax                                           ; +0x1e, 0x14013fc6e\nmov     rcx, rax                                                       ; +0x23, 0x14013fc73\ncall    FLAlertLayer__FLAlertLayer                                     ; +0x26, 0x14013fc76\nlea     rax, ??_7FriendsProfilePage@@6B@; const FriendsProfilePage::`vftable' ; +0x2b, 0x14013fc7b\nmov     [rdi], rax                                                     ; +0x32, 0x14013fc82\nlea     rax, ??_7FriendsProfilePage@@6B@_0; const FriendsProfilePage::`vftable' ; +0x35, 0x14013fc85\nmov     [rdi+140h], rax                                                ; +0x3c, 0x14013fc8c\nlea     rax, ??_7FriendsProfilePage@@6B@_1; const FriendsProfilePage::`vftable' ; +0x43, 0x14013fc93\nmov     [rdi+148h], rax                                                ; +0x4a, 0x14013fc9a\nlea     rax, ??_7FriendsProfilePage@@6B@_2; const FriendsProfilePage::`vftable' ; +0x51, 0x14013fca1\nmov     [rdi+150h], rax                                                ; +0x58, 0x14013fca8\nlea     rax, ??_7FriendsProfilePage@@6B@_3; const FriendsProfilePage::`vftable' ; +0x5f, 0x14013fcaf\nmov     [rdi+158h], rax                                                ; +0x66, 0x14013fcb6\nlea     rax, ??_7FriendsProfilePage@@6B@_4; const FriendsProfilePage::`vftable' ; +0x6d, 0x14013fcbd\nmov     [rdi+160h], rax                                                ; +0x74, 0x14013fcc4\nlea     rax, ??_7FriendsProfilePage@@6B@_5; const FriendsProfilePage::`vftable' ; +0x7b, 0x14013fccb\nmov     [rdi+198h], rax                                                ; +0x82, 0x14013fcd2\nlea     rax, ??_7FriendsProfilePage@@6B@_6; const FriendsProfilePage::`vftable' ; +0x89, 0x14013fcd9\nmov     [rdi+1B0h], rax                                                ; +0x90, 0x14013fce0\nlea     rax, ??_7FriendsProfilePage@@6B@_7; const FriendsProfilePage::`vftable' ; +0x97, 0x14013fce7\nmov     [rdi+278h], rax                                                ; +0x9e, 0x14013fcee\nlea     rax, ??_7FriendsProfilePage@@6B@_8; const FriendsProfilePage::`vftable' ; +0xa5, 0x14013fcf5\nmov     [rdi+280h], rax                                                ; +0xac, 0x14013fcfc\nlea     rax, ??_7FriendsProfilePage@@6B@_9; const FriendsProfilePage::`vftable' ; +0xb3, 0x14013fd03\nmov     [rdi+288h], rax                                                ; +0xba, 0x14013fd0a\nlea     rax, ??_7FriendsProfilePage@@6B@_10; const FriendsProfilePage::`vftable' ; +0xc1, 0x14013fd11\nmov     [rdi+290h], rax                                                ; +0xc8, 0x14013fd18\nxor     esi, esi                                                       ; +0xcf, 0x14013fd1f\nmov     [rdi+298h], esi                                                ; +0xd1, 0x14013fd21\nmov     [rdi+2A0h], rsi                                                ; +0xd7, 0x14013fd27\nmov     [rdi+2A8h], rsi                                                ; +0xde, 0x14013fd2e\nmov     [rdi+2B0h], rsi                                                ; +0xe5, 0x14013fd35\nmov     [rdi+2B8h], rsi                                                ; +0xec, 0x14013fd3c\nmov     [rdi+2C0h], rsi                                                ; +0xf3, 0x14013fd43\nmov     [rdi+2C8h], rsi                                                ; +0xfa, 0x14013fd4a\nmov     edx, ebx                                                       ; +0x101, 0x14013fd51\nmov     rcx, rdi                                                       ; +0x103, 0x14013fd53\ncall    FriendsProfilePage__init                                       ; +0x106, 0x14013fd56\nmov     rcx, rdi                                                       ; +0x10b, 0x14013fd5b\ntest    al, al                                                         ; +0x10e, 0x14013fd5e\njz      short loc_14013FD7B                                            ; +0x110, 0x14013fd60\ncall    cs:?autorelease@CCObject@cocos2d@@QEAAPEAV12@XZ; cocos2d::CCObject::autorelease(void) ; +0x112, 0x14013fd62\nmov     rax, rdi                                                       ; +0x118, 0x14013fd68\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x11b, 0x14013fd6b\nmov     rsi, [rsp+28h+arg_10]                                          ; +0x120, 0x14013fd70\nadd     rsp, 20h                                                       ; +0x125, 0x14013fd75\npop     rdi                                                            ; +0x129, 0x14013fd79\nretn                                                                   ; +0x12a, 0x14013fd7a\nmov     r8, [rdi]                                                      ; +0x12b, 0x14013fd7b\nmov     edx, 1                                                         ; +0x12e, 0x14013fd7e\ncall    qword ptr [r8+8]                                               ; +0x133, 0x14013fd83\nmov     rax, rsi                                                       ; +0x137, 0x14013fd87\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x13a, 0x14013fd8a\nmov     rsi, [rsp+28h+arg_10]                                          ; +0x13f, 0x14013fd8f\nadd     rsp, 20h                                                       ; +0x144, 0x14013fd94\npop     rdi                                                            ; +0x148, 0x14013fd98\nretn                                                                   ; +0x149, 0x14013fd99", "xrefs": ["FriendsProfilePage::onBlocked @ 0x140140be8", "FriendsProfilePage::onClose @ 0x140140c9f", "ProfilePage::onFriends @ 0x1403c5e8d", "<???> @ 0x1406ca290"], "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"}