{"type": "func", "start": 5372634720, "end": 5372635192, "name": "ProfilePage::create", "pseudocode": "// \n// ProfilePage::create from 0x1403be660 to 0x1403be838 (472 bytes)\n// \n// 16 xrefs:\n// > LevelCell::onViewProfile @ 0x1400b1a3d\n// > CommentCell::onViewProfile @ 0x1400b81a8\n// > GJScoreCell::onViewProfile @ 0x1400b9a51\n// > GJLevelScoreCell::onViewProfile @ 0x1400bab3c\n// > GJRequestCell::onViewProfile @ 0x1400bb51c\n// > GJMessageCell::onViewProfile @ 0x1400bdf7c\n// > LevelListCell::onViewProfile @ 0x1400c0227\n// > FRequestProfilePage::onClose @ 0x14013ede7\n// > FriendsProfilePage::onClose @ 0x140140c8f\n// > ItemInfoPopup::onCredit @ 0x14027d800\n// > InfoLayer::onMore @ 0x1402bd506\n// > LevelInfoLayer::onViewProfile @ 0x1402fef3c\n// > LevelListLayer::onViewProfile @ 0x14030770c\n// > MenuLayer::onMyProfile @ 0x140335656\n// > MessagesProfilePage::onClose @ 0x140337b27\n// > <???> @ 0x1406d7718\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\nProfilePage *ProfilePage::create(int a1, bool a2)\n{\n  ProfilePage *v4; // rsi\n\n  v4 = (ProfilePage *)operator new(0x358u);\n  FLAlertLayer::FLAlertLayer(v4);\n  v4->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable = (ProfilePage_vtbl *)&ProfilePage::`vftable';\n  v4->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCTouchDelegate::__vftable = (cocos2d::CCTouchDelegate_vtbl *)&ProfilePage::`vftable';\n  v4->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCAccelerometerDelegate::__vftable = (cocos2d::CCAccelerometerDelegate_vtbl *)&ProfilePage::`vftable';\n  v4->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCKeypadDelegate::__vftable = (cocos2d::CCKeypadDelegate_vtbl *)&ProfilePage::`vftable';\n  v4->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCKeyboardDelegate::__vftable = (cocos2d::CCKeyboardDelegate_vtbl *)&ProfilePage::`vftable';\n  v4->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCMouseDelegate::__vftable = (cocos2d::CCMouseDelegate_vtbl *)&ProfilePage::`vftable';\n  v4->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCRGBAProtocol::__vftable = (cocos2d::CCRGBAProtocol_vtbl *)&ProfilePage::`vftable';\n  v4->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCBlendProtocol::__vftable = (cocos2d::CCBlendProtocol_vtbl *)&ProfilePage::`vftable';\n  v4->FLAlertLayerProtocol::__vftable = (FLAlertLayerProtocol_vtbl *)&ProfilePage::`vftable';\n  v4->LevelCommentDelegate::__vftable = (LevelCommentDelegate_vtbl *)&ProfilePage::`vftable';\n  v4->CommentUploadDelegate::__vftable = (CommentUploadDelegate_vtbl *)&ProfilePage::`vftable';\n  v4->UserInfoDelegate::__vftable = (UserInfoDelegate_vtbl *)&ProfilePage::`vftable';\n  v4->UploadActionDelegate::__vftable = (UploadActionDelegate_vtbl *)&ProfilePage::`vftable';\n  v4->UploadPopupDelegate::__vftable = (UploadPopupDelegate_vtbl *)&ProfilePage::`vftable';\n  v4->LeaderboardManagerDelegate::__vftable = (LeaderboardManagerDelegate_vtbl *)&ProfilePage::`vftable';\n  v4->m_score = nullptr;\n  v4->m_accountID = 0;\n  v4->m_ownProfile = 0;\n  v4->m_profileKey.m_data.0 = 0;\n  v4->m_profileKey.m_data.m_size = 0;\n  v4->m_profileKey.m_data.m_capacity = 15;\n  v4->m_profileKey.m_data.m_smallStorage._Elems[0] = 0;\n  v4->m_somethingWentWrong = nullptr;\n  v4->m_usernameLabel = nullptr;\n  v4->m_list = nullptr;\n  v4->m_rightArrow = nullptr;\n  v4->m_leftArrow = nullptr;\n  v4->m_followBtn = nullptr;\n  v4->m_unk = 0;\n  v4->m_buttons = nullptr;\n  *(_QWORD *)&v4->m_itemCount = 0;\n  *(_QWORD *)&v4->m_pageEndIdx = 0;\n  v4->m_circle = nullptr;\n  v4->m_popupDelegate = nullptr;\n  v4->m_unk2 = 0;\n  if ( ProfilePage::init(v4, a1, a2) )\n  {\n    cocos2d::CCObject::autorelease(v4);\n    return v4;\n  }\n  else\n  {\n    ((void (__fastcall *)(ProfilePage *, __int64))v4->~ProfilePage)(v4, 1);\n    return nullptr;\n  }\n}", "assembly": "; \n; ProfilePage::create from 0x1403be660 to 0x1403be838 (472 bytes)\n; \n; 16 xrefs:\n; > LevelCell::onViewProfile @ 0x1400b1a3d\n; > CommentCell::onViewProfile @ 0x1400b81a8\n; > GJScoreCell::onViewProfile @ 0x1400b9a51\n; > GJLevelScoreCell::onViewProfile @ 0x1400bab3c\n; > GJRequestCell::onViewProfile @ 0x1400bb51c\n; > GJMessageCell::onViewProfile @ 0x1400bdf7c\n; > LevelListCell::onViewProfile @ 0x1400c0227\n; > FRequestProfilePage::onClose @ 0x14013ede7\n; > FriendsProfilePage::onClose @ 0x140140c8f\n; > ItemInfoPopup::onCredit @ 0x14027d800\n; > InfoLayer::onMore @ 0x1402bd506\n; > LevelInfoLayer::onViewProfile @ 0x1402fef3c\n; > LevelListLayer::onViewProfile @ 0x14030770c\n; > MenuLayer::onMyProfile @ 0x140335656\n; > MessagesProfilePage::onClose @ 0x140337b27\n; > <???> @ 0x1406d7718\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, 0x1403be660\nmov     [rsp+arg_8], rbp                                               ; +0x5, 0x1403be665\nmov     [rsp+arg_18], rsi                                              ; +0xa, 0x1403be66a\npush    rdi                                                            ; +0xf, 0x1403be66f\nsub     rsp, 20h                                                       ; +0x10, 0x1403be670\nmovzx   ebx, dl                                                        ; +0x14, 0x1403be674\nmov     edi, ecx                                                       ; +0x17, 0x1403be677\nmov     ecx, 358h; Size                                                ; +0x19, 0x1403be679\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x1e, 0x1403be67e\nmov     rsi, rax                                                       ; +0x23, 0x1403be683\nmov     [rsp+28h+arg_10], rax                                          ; +0x26, 0x1403be686\nmov     rcx, rax                                                       ; +0x2b, 0x1403be68b\ncall    FLAlertLayer__FLAlertLayer                                     ; +0x2e, 0x1403be68e\nlea     rax, ??_7ProfilePage@@6B@; const ProfilePage::`vftable'        ; +0x33, 0x1403be693\nmov     [rsi], rax                                                     ; +0x3a, 0x1403be69a\nlea     rax, ??_7ProfilePage@@6B@_0; const ProfilePage::`vftable'      ; +0x3d, 0x1403be69d\nmov     [rsi+140h], rax                                                ; +0x44, 0x1403be6a4\nlea     rax, ??_7ProfilePage@@6B@_1; const ProfilePage::`vftable'      ; +0x4b, 0x1403be6ab\nmov     [rsi+148h], rax                                                ; +0x52, 0x1403be6b2\nlea     rax, ??_7ProfilePage@@6B@_2; const ProfilePage::`vftable'      ; +0x59, 0x1403be6b9\nmov     [rsi+150h], rax                                                ; +0x60, 0x1403be6c0\nlea     rax, ??_7ProfilePage@@6B@_3; const ProfilePage::`vftable'      ; +0x67, 0x1403be6c7\nmov     [rsi+158h], rax                                                ; +0x6e, 0x1403be6ce\nlea     rax, ??_7ProfilePage@@6B@_4; const ProfilePage::`vftable'      ; +0x75, 0x1403be6d5\nmov     [rsi+160h], rax                                                ; +0x7c, 0x1403be6dc\nlea     rax, ??_7ProfilePage@@6B@_5; const ProfilePage::`vftable'      ; +0x83, 0x1403be6e3\nmov     [rsi+198h], rax                                                ; +0x8a, 0x1403be6ea\nlea     rax, ??_7ProfilePage@@6B@_6; const ProfilePage::`vftable'      ; +0x91, 0x1403be6f1\nmov     [rsi+1B0h], rax                                                ; +0x98, 0x1403be6f8\nlea     rax, ??_7ProfilePage@@6B@_7; const ProfilePage::`vftable'      ; +0x9f, 0x1403be6ff\nmov     [rsi+278h], rax                                                ; +0xa6, 0x1403be706\nlea     rax, ??_7ProfilePage@@6B@_8; const ProfilePage::`vftable'      ; +0xad, 0x1403be70d\nmov     [rsi+280h], rax                                                ; +0xb4, 0x1403be714\nlea     rax, ??_7ProfilePage@@6B@_9; const ProfilePage::`vftable'      ; +0xbb, 0x1403be71b\nmov     [rsi+288h], rax                                                ; +0xc2, 0x1403be722\nlea     rax, ??_7ProfilePage@@6B@_10; const ProfilePage::`vftable'     ; +0xc9, 0x1403be729\nmov     [rsi+290h], rax                                                ; +0xd0, 0x1403be730\nlea     rax, ??_7ProfilePage@@6B@_11; const ProfilePage::`vftable'     ; +0xd7, 0x1403be737\nmov     [rsi+298h], rax                                                ; +0xde, 0x1403be73e\nlea     rax, ??_7ProfilePage@@6B@_12; const ProfilePage::`vftable'     ; +0xe5, 0x1403be745\nmov     [rsi+2A0h], rax                                                ; +0xec, 0x1403be74c\nlea     rax, ??_7ProfilePage@@6B@_13; const ProfilePage::`vftable'     ; +0xf3, 0x1403be753\nmov     [rsi+2A8h], rax                                                ; +0xfa, 0x1403be75a\nxor     ebp, ebp                                                       ; +0x101, 0x1403be761\nmov     [rsi+2B0h], rbp                                                ; +0x103, 0x1403be763\nmov     [rsi+2B8h], ebp                                                ; +0x10a, 0x1403be76a\nmov     [rsi+2BCh], bpl                                                ; +0x110, 0x1403be770\nxorps   xmm0, xmm0                                                     ; +0x117, 0x1403be777\nmovups  xmmword ptr [rsi+2C0h], xmm0                                   ; +0x11a, 0x1403be77a\nmov     [rsi+2D0h], rbp                                                ; +0x121, 0x1403be781\nmov     qword ptr [rsi+2D8h], 0Fh                                      ; +0x128, 0x1403be788\nmov     [rsi+2C0h], bpl                                                ; +0x133, 0x1403be793\nmov     [rsi+2E0h], rbp                                                ; +0x13a, 0x1403be79a\nmov     [rsi+2E8h], rbp                                                ; +0x141, 0x1403be7a1\nmov     [rsi+2F0h], rbp                                                ; +0x148, 0x1403be7a8\nmov     [rsi+2F8h], rbp                                                ; +0x14f, 0x1403be7af\nmov     [rsi+300h], rbp                                                ; +0x156, 0x1403be7b6\nmov     [rsi+308h], rbp                                                ; +0x15d, 0x1403be7bd\nmov     [rsi+310h], bpl                                                ; +0x164, 0x1403be7c4\nmov     [rsi+318h], rbp                                                ; +0x16b, 0x1403be7cb\nmov     [rsi+328h], rbp                                                ; +0x172, 0x1403be7d2\nmov     [rsi+330h], rbp                                                ; +0x179, 0x1403be7d9\nmov     [rsi+338h], rbp                                                ; +0x180, 0x1403be7e0\nmov     [rsi+340h], rbp                                                ; +0x187, 0x1403be7e7\nmov     [rsi+350h], ebp                                                ; +0x18e, 0x1403be7ee\nmovzx   r8d, bl                                                        ; +0x194, 0x1403be7f4\nmov     edx, edi                                                       ; +0x198, 0x1403be7f8\nmov     rcx, rsi                                                       ; +0x19a, 0x1403be7fa\ncall    ProfilePage__init                                              ; +0x19d, 0x1403be7fd\nmov     rcx, rsi                                                       ; +0x1a2, 0x1403be802\ntest    al, al                                                         ; +0x1a5, 0x1403be805\njz      short loc_1403BE814                                            ; +0x1a7, 0x1403be807\ncall    cs:?autorelease@CCObject@cocos2d@@QEAAPEAV12@XZ; cocos2d::CCObject::autorelease(void) ; +0x1a9, 0x1403be809\nmov     rax, rsi                                                       ; +0x1af, 0x1403be80f\njmp     short loc_1403BE823                                            ; +0x1b2, 0x1403be812\nmov     r8, [rsi]                                                      ; +0x1b4, 0x1403be814\nmov     edx, 1                                                         ; +0x1b7, 0x1403be817\ncall    qword ptr [r8+8]                                               ; +0x1bc, 0x1403be81c\nmov     rax, rbp                                                       ; +0x1c0, 0x1403be820\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x1c3, 0x1403be823\nmov     rbp, [rsp+28h+arg_8]                                           ; +0x1c8, 0x1403be828\nmov     rsi, [rsp+28h+arg_18]                                          ; +0x1cd, 0x1403be82d\nadd     rsp, 20h                                                       ; +0x1d2, 0x1403be832\npop     rdi                                                            ; +0x1d6, 0x1403be836\nretn                                                                   ; +0x1d7, 0x1403be837", "xrefs": ["LevelCell::onViewProfile @ 0x1400b1a3d", "CommentCell::onViewProfile @ 0x1400b81a8", "GJScoreCell::onViewProfile @ 0x1400b9a51", "GJLevelScoreCell::onViewProfile @ 0x1400bab3c", "GJRequestCell::onViewProfile @ 0x1400bb51c", "GJMessageCell::onViewProfile @ 0x1400bdf7c", "LevelListCell::onViewProfile @ 0x1400c0227", "FRequestProfilePage::onClose @ 0x14013ede7", "FriendsProfilePage::onClose @ 0x140140c8f", "ItemInfoPopup::onCredit @ 0x14027d800", "InfoLayer::onMore @ 0x1402bd506", "LevelInfoLayer::onViewProfile @ 0x1402fef3c", "LevelListLayer::onViewProfile @ 0x14030770c", "MenuLayer::onMyProfile @ 0x140335656", "MessagesProfilePage::onClose @ 0x140337b27", "<???> @ 0x1406d7718"], "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"}