{"type": "func", "start": 4992936, "end": 4993232, "name": "FRequestProfilePage::create", "pseudocode": "// \n// FRequestProfilePage::create from 0x4c2fa8 to 0x4c30d0 (296 bytes)\n// \n// 3 xrefs:\n// > FRequestProfilePage::onSentRequests @ 0x4c310c\n// > FRequestProfilePage::onClose @ 0x4c318c\n// > ProfilePage::onRequests @ 0x4c4f3c\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\nFRequestProfilePage *FRequestProfilePage::create(bool a1)\n{\n  FRequestProfilePage *v2; // r4\n  FRequestProfilePage_vtbl *v3; // r3\n  FRequestProfilePage *v4; // r0\n\n  v2 = (FRequestProfilePage *)operator new(0x240u);\n  cocos2d::CCLayerColor::CCLayerColor(v2);\n  v2->m_controlConnected = -1;\n  v2->m_joystickConnected = -1;\n  v2->m_buttonMenu = nullptr;\n  v2->m_alertProtocol = nullptr;\n  v2->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable = (FRequestProfilePage_vtbl *)&off_A73C90;\n  v2->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCTouchDelegate::__vftable = (cocos2d::CCTouchDelegate_vtbl *)&off_A73F40;\n  v2->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCAccelerometerDelegate::__vftable = (cocos2d::CCAccelerometerDelegate_vtbl *)&off_A73F78;\n  v2->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCKeypadDelegate::__vftable = (cocos2d::CCKeypadDelegate_vtbl *)&off_A73F84;\n  v2->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCKeyboardDelegate::__vftable = (cocos2d::CCKeyboardDelegate_vtbl *)&off_A73F94;\n  v2->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCMouseDelegate::__vftable = (cocos2d::CCMouseDelegate_vtbl *)&off_A73FA4;\n  v2->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCRGBAProtocol::__vftable = (cocos2d::CCRGBAProtocol_vtbl *)&off_A73FB8;\n  v2->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCBlendProtocol::__vftable = (cocos2d::CCBlendProtocol_vtbl *)&off_A73FF8;\n  v2->FLAlertLayerProtocol::__vftable = (FLAlertLayerProtocol_vtbl *)&off_A74008;\n  v2->UploadActionDelegate::__vftable = (UploadActionDelegate_vtbl *)&off_A74014;\n  v2->FriendRequestDelegate::__vftable = (FriendRequestDelegate_vtbl *)&off_A74030;\n  v2->m_scene = nullptr;\n  v2->m_reverseKeyBack = 0;\n  v2->m_mainLayer = nullptr;\n  v2->m_ZOrder = 0;\n  v2->m_noElasticity = 0;\n  v2->m_button1 = nullptr;\n  v2->m_button2 = nullptr;\n  v2->m_scrollingLayer = nullptr;\n  v2->m_containsBorder = 0;\n  v2->m_noAction = 0;\n  v2->m_forcePrioRegistered = 0;\n  v2->UploadPopupDelegate::__vftable = (UploadPopupDelegate_vtbl *)&off_A74024;\n  v2->m_sent = 0;\n  v2->m_key.m_data.m_data = (stl::StringData<char>::Internal *)&unk_ACDDA8;\n  v2->m_pageLabel = nullptr;\n  v2->m_errorLabel = nullptr;\n  v2->m_listLayer = nullptr;\n  v2->m_circle = nullptr;\n  v2->m_uploadPopup = nullptr;\n  v2->m_unk2e8 = nullptr;\n  v2->m_nextButton = nullptr;\n  v2->m_prevButton = nullptr;\n  v2->m_itemCount = 0;\n  v2->m_pageStartIdx = 0;\n  v2->m_pageEndIdx = 0;\n  v2->m_page = 0;\n  v2->m_toggledAll = 0;\n  if ( FRequestProfilePage::init(v2, a1) )\n  {\n    cocos2d::CCObject::autorelease(v2);\n  }\n  else\n  {\n    v3 = v2->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable;\n    v4 = v2;\n    v2 = nullptr;\n    v3->~FRequestProfilePage_0(v4);\n  }\n  return v2;\n}", "assembly": "; \n; FRequestProfilePage::create from 0x4c2fa8 to 0x4c30d0 (296 bytes)\n; \n; 3 xrefs:\n; > FRequestProfilePage::onSentRequests @ 0x4c310c\n; > FRequestProfilePage::onClose @ 0x4c318c\n; > ProfilePage::onRequests @ 0x4c4f3c\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            {R3-R5,LR}                                             ; +0x0, 0x4c2fa8\nMOV             R5, R0                                                 ; +0x2, 0x4c2faa\nMOV.W           R0, #0x240; unsigned int                               ; +0x4, 0x4c2fac\nBL              _Znwj; operator new(uint)                              ; +0x8, 0x4c2fb0\nMOV             R4, R0                                                 ; +0xc, 0x4c2fb4\nBL              _ZN7cocos2d12CCLayerColorC2Ev; cocos2d::CCLayerColor::CCLayerColor(void) ; +0xe, 0x4c2fb6\nMOV.W           R2, #0xFFFFFFFF                                        ; +0x12, 0x4c2fba\nSTR.W           R2, [R4,#0x1E0]                                        ; +0x16, 0x4c2fbe\nSTR.W           R2, [R4,#0x1E8]                                        ; +0x1a, 0x4c2fc2\nMOVS            R3, #0                                                 ; +0x1e, 0x4c2fc6\nLDR             R2, =(_ZTV19FRequestProfilePage_ptr - 0x4C2FD4)        ; +0x20, 0x4c2fc8\nMOV             R0, R4; this                                           ; +0x22, 0x4c2fca\nSTR.W           R3, [R4,#0x1B8]                                        ; +0x24, 0x4c2fcc\nADD             R2, PC; _ZTV19FRequestProfilePage_ptr                  ; +0x28, 0x4c2fd0\nLDR             R2, [R2]; `vtable for'FRequestProfilePage ...          ; +0x2a, 0x4c2fd2\nSTR.W           R3, [R4,#0x1BC]                                        ; +0x2c, 0x4c2fd4\nADD.W           R1, R2, #8                                             ; +0x30, 0x4c2fd8\nSTR             R1, [R4]                                               ; +0x34, 0x4c2fdc\nADD.W           R1, R2, #0x2B8                                         ; +0x36, 0x4c2fde\nSTR.W           R1, [R4,#0x108]                                        ; +0x3a, 0x4c2fe2\nADD.W           R1, R2, #0x2F0                                         ; +0x3e, 0x4c2fe6\nSTR.W           R1, [R4,#0x10C]                                        ; +0x42, 0x4c2fea\nADD.W           R1, R2, #0x2FC                                         ; +0x46, 0x4c2fee\nSTR.W           R1, [R4,#0x110]                                        ; +0x4a, 0x4c2ff2\nADD.W           R1, R2, #0x30C                                         ; +0x4e, 0x4c2ff6\nSTR.W           R1, [R4,#0x114]                                        ; +0x52, 0x4c2ffa\nADD.W           R1, R2, #0x31C                                         ; +0x56, 0x4c2ffe\nSTR.W           R1, [R4,#0x118]                                        ; +0x5a, 0x4c3002\nADD.W           R1, R2, #0x330                                         ; +0x5e, 0x4c3006\nSTR.W           R1, [R4,#0x13C]                                        ; +0x62, 0x4c300a\nADD.W           R1, R2, #0x370                                         ; +0x66, 0x4c300e\nSTR.W           R1, [R4,#0x14C]                                        ; +0x6a, 0x4c3012\nADD.W           R1, R2, #0x380                                         ; +0x6e, 0x4c3016\nSTR.W           R1, [R4,#0x1F0]                                        ; +0x72, 0x4c301a\nADD.W           R1, R2, #0x38C                                         ; +0x76, 0x4c301e\nSTR.W           R1, [R4,#0x1F4]                                        ; +0x7a, 0x4c3022\nADD.W           R1, R2, #0x39C                                         ; +0x7e, 0x4c3026\nADD.W           R2, R2, #0x3A8                                         ; +0x82, 0x4c302a\nSTR.W           R2, [R4,#0x1FC]                                        ; +0x86, 0x4c302e\nLDR             R2, =(off_AB5BA0 - 0x4C303C)                           ; +0x8a, 0x4c3032\nSTR.W           R3, [R4,#0x1C0]                                        ; +0x8c, 0x4c3034\nADD             R2, PC; off_AB5BA0                                     ; +0x90, 0x4c3038\nLDR             R2, [R2]; dword_ACDD9C                                 ; +0x92, 0x4c303a\nSTRB.W          R3, [R4,#0x1C4]                                        ; +0x94, 0x4c303c\nSTR.W           R3, [R4,#0x1C8]                                        ; +0x98, 0x4c3040\nADDS            R2, #0xC                                               ; +0x9c, 0x4c3044\nSTR.W           R3, [R4,#0x1CC]                                        ; +0x9e, 0x4c3046\nSTRB.W          R3, [R4,#0x1D0]                                        ; +0xa2, 0x4c304a\nSTR.W           R3, [R4,#0x1D4]                                        ; +0xa6, 0x4c304e\nSTR.W           R3, [R4,#0x1D8]                                        ; +0xaa, 0x4c3052\nSTR.W           R3, [R4,#0x1DC]                                        ; +0xae, 0x4c3056\nSTRB.W          R3, [R4,#0x1E4]                                        ; +0xb2, 0x4c305a\nSTRB.W          R3, [R4,#0x1E5]                                        ; +0xb6, 0x4c305e\nSTRB.W          R3, [R4,#0x1EC]                                        ; +0xba, 0x4c3062\nSTR.W           R1, [R4,#0x1F8]                                        ; +0xbe, 0x4c3066\nMOV             R1, R5; bool                                           ; +0xc2, 0x4c306a\nSTRB.W          R3, [R4,#0x200]                                        ; +0xc4, 0x4c306c\nSTR.W           R2, [R4,#0x204]                                        ; +0xc8, 0x4c3070\nSTR.W           R3, [R4,#0x208]                                        ; +0xcc, 0x4c3074\nSTR.W           R3, [R4,#0x20C]                                        ; +0xd0, 0x4c3078\nSTR.W           R3, [R4,#0x210]                                        ; +0xd4, 0x4c307c\nSTR.W           R3, [R4,#0x214]                                        ; +0xd8, 0x4c3080\nSTR.W           R3, [R4,#0x218]                                        ; +0xdc, 0x4c3084\nSTR.W           R3, [R4,#0x21C]                                        ; +0xe0, 0x4c3088\nSTR.W           R3, [R4,#0x220]                                        ; +0xe4, 0x4c308c\nSTR.W           R3, [R4,#0x224]                                        ; +0xe8, 0x4c3090\nSTR.W           R3, [R4,#0x22C]                                        ; +0xec, 0x4c3094\nSTR.W           R3, [R4,#0x230]                                        ; +0xf0, 0x4c3098\nSTR.W           R3, [R4,#0x234]                                        ; +0xf4, 0x4c309c\nSTR.W           R3, [R4,#0x238]                                        ; +0xf8, 0x4c30a0\nSTRB.W          R3, [R4,#0x23C]                                        ; +0xfc, 0x4c30a4\nBL              _ZN19FRequestProfilePage4initEb; FRequestProfilePage::init(bool) ; +0x100, 0x4c30a8\nMOV             R5, R0                                                 ; +0x104, 0x4c30ac\nCBZ             R0, loc_4C30C2                                         ; +0x106, 0x4c30ae\nMOV             R0, R4; this                                           ; +0x108, 0x4c30b0\nBL              _ZN7cocos2d8CCObject11autoreleaseEv; cocos2d::CCObject::autorelease(void) ; +0x10a, 0x4c30b2\nB               loc_4C30CC                                             ; +0x10e, 0x4c30b6\nMOV             R0, R4; p                                              ; +0x110, 0x4c30b8\nBL              _ZdlPv; operator delete(void *)                        ; +0x112, 0x4c30ba\nBL              __cxa_end_cleanup                                      ; +0x116, 0x4c30be\nLDR             R3, [R4]                                               ; +0x11a, 0x4c30c2\nMOV             R0, R4                                                 ; +0x11c, 0x4c30c4\nMOV             R4, R5                                                 ; +0x11e, 0x4c30c6\nLDR             R3, [R3,#8]                                            ; +0x120, 0x4c30c8\nBLX             R3                                                     ; +0x122, 0x4c30ca\nMOV             R0, R4                                                 ; +0x124, 0x4c30cc\nPOP             {R3-R5,PC}                                             ; +0x126, 0x4c30ce", "xrefs": ["FRequestProfilePage::onSentRequests @ 0x4c310c", "FRequestProfilePage::onClose @ 0x4c318c", "ProfilePage::onRequests @ 0x4c4f3c"], "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"}