{"type": "func", "start": 4904900, "end": 4905076, "name": "FriendRequestPopup::create", "pseudocode": "// \n// FriendRequestPopup::create from 0x4ad7c4 to 0x4ad874 (176 bytes)\n// \n// 3 xrefs:\n// > GJUserCell::onViewFriendRequest @ 0x339038\n// > GJRequestCell::onViewFriendRequest @ 0x339752\n// > ProfilePage::onFriend @ 0x4c6e68\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\nFriendRequestPopup *FriendRequestPopup::create(GJFriendRequest *a1)\n{\n  FriendRequestPopup *v2; // r4\n  FriendRequestPopup_vtbl *v3; // r3\n  int *v4; // r0\n\n  v2 = (FriendRequestPopup *)operator new(0x210u);\n  FLAlertLayer::FLAlertLayer(v2);\n  v2->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable = (FriendRequestPopup_vtbl *)&off_A6D610;\n  v2->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCTouchDelegate::__vftable = (cocos2d::CCTouchDelegate_vtbl *)&off_A6D8B0;\n  v2->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCAccelerometerDelegate::__vftable = (cocos2d::CCAccelerometerDelegate_vtbl *)&off_A6D8E8;\n  v2->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCKeypadDelegate::__vftable = (cocos2d::CCKeypadDelegate_vtbl *)&off_A6D8F4;\n  v2->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCKeyboardDelegate::__vftable = (cocos2d::CCKeyboardDelegate_vtbl *)&off_A6D904;\n  v2->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCMouseDelegate::__vftable = (cocos2d::CCMouseDelegate_vtbl *)&off_A6D914;\n  v2->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCRGBAProtocol::__vftable = (cocos2d::CCRGBAProtocol_vtbl *)&off_A6D928;\n  v2->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCBlendProtocol::__vftable = (cocos2d::CCBlendProtocol_vtbl *)&off_A6D968;\n  v2->UploadActionDelegate::__vftable = (UploadActionDelegate_vtbl *)&off_A6D978;\n  v2->UploadPopupDelegate::__vftable = (UploadPopupDelegate_vtbl *)&off_A6D988;\n  v2->FLAlertLayerProtocol::__vftable = (FLAlertLayerProtocol_vtbl *)&off_A6D994;\n  LOBYTE(v2->m_unk) = 0;\n  v2->m_request = nullptr;\n  v2->m_circle = nullptr;\n  v2->m_closeBtn = nullptr;\n  v2->m_popup = nullptr;\n  if ( FriendRequestPopup::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 = (int *)v2;\n    v2 = nullptr;\n    v3->~FriendRequestPopup_0((FriendRequestPopup *)v4);\n  }\n  return v2;\n}", "assembly": "; \n; FriendRequestPopup::create from 0x4ad7c4 to 0x4ad874 (176 bytes)\n; \n; 3 xrefs:\n; > GJUserCell::onViewFriendRequest @ 0x339038\n; > GJRequestCell::onViewFriendRequest @ 0x339752\n; > ProfilePage::onFriend @ 0x4c6e68\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, 0x4ad7c4\nMOV             R5, R0                                                 ; +0x2, 0x4ad7c6\nMOV.W           R0, #0x210; unsigned int                               ; +0x4, 0x4ad7c8\nBL              _Znwj; operator new(uint)                              ; +0x8, 0x4ad7cc\nMOV             R4, R0                                                 ; +0xc, 0x4ad7d0\nBL              _ZN12FLAlertLayerC2Ev; FLAlertLayer::FLAlertLayer(void) ; +0xe, 0x4ad7d2\nLDR             R3, =(_ZTV18FriendRequestPopup_ptr - 0x4AD7E0)         ; +0x12, 0x4ad7d6\nMOV             R1, R5; GJFriendRequest *                              ; +0x14, 0x4ad7d8\nMOV             R0, R4; this                                           ; +0x16, 0x4ad7da\nADD             R3, PC; _ZTV18FriendRequestPopup_ptr                   ; +0x18, 0x4ad7dc\nLDR             R3, [R3]; `vtable for'FriendRequestPopup ...           ; +0x1a, 0x4ad7de\nADD.W           R2, R3, #8                                             ; +0x1c, 0x4ad7e0\nSTR             R2, [R4]                                               ; +0x20, 0x4ad7e4\nADD.W           R2, R3, #0x2A8                                         ; +0x22, 0x4ad7e6\nSTR.W           R2, [R4,#0x108]                                        ; +0x26, 0x4ad7ea\nADD.W           R2, R3, #0x2E0                                         ; +0x2a, 0x4ad7ee\nSTR.W           R2, [R4,#0x10C]                                        ; +0x2e, 0x4ad7f2\nADD.W           R2, R3, #0x2EC                                         ; +0x32, 0x4ad7f6\nSTR.W           R2, [R4,#0x110]                                        ; +0x36, 0x4ad7fa\nADD.W           R2, R3, #0x2FC                                         ; +0x3a, 0x4ad7fe\nSTR.W           R2, [R4,#0x114]                                        ; +0x3e, 0x4ad802\nADD.W           R2, R3, #0x30C                                         ; +0x42, 0x4ad806\nSTR.W           R2, [R4,#0x118]                                        ; +0x46, 0x4ad80a\nADD.W           R2, R3, #0x320                                         ; +0x4a, 0x4ad80e\nSTR.W           R2, [R4,#0x13C]                                        ; +0x4e, 0x4ad812\nADD.W           R2, R3, #0x360                                         ; +0x52, 0x4ad816\nSTR.W           R2, [R4,#0x14C]                                        ; +0x56, 0x4ad81a\nADD.W           R2, R3, #0x370                                         ; +0x5a, 0x4ad81e\nSTR.W           R2, [R4,#0x1F0]                                        ; +0x5e, 0x4ad822\nADD.W           R2, R3, #0x380                                         ; +0x62, 0x4ad826\nADD.W           R3, R3, #0x38C                                         ; +0x66, 0x4ad82a\nSTR.W           R2, [R4,#0x1F4]                                        ; +0x6a, 0x4ad82e\nSTR.W           R3, [R4,#0x1F8]                                        ; +0x6e, 0x4ad832\nMOVS            R3, #0                                                 ; +0x72, 0x4ad836\nSTRB.W          R3, [R4,#0x1FC]                                        ; +0x74, 0x4ad838\nSTR.W           R3, [R4,#0x200]                                        ; +0x78, 0x4ad83c\nSTR.W           R3, [R4,#0x204]                                        ; +0x7c, 0x4ad840\nSTR.W           R3, [R4,#0x208]                                        ; +0x80, 0x4ad844\nSTR.W           R3, [R4,#0x20C]                                        ; +0x84, 0x4ad848\nBL              _ZN18FriendRequestPopup4initEP15GJFriendRequest; FriendRequestPopup::init(GJFriendRequest *) ; +0x88, 0x4ad84c\nMOV             R5, R0                                                 ; +0x8c, 0x4ad850\nCBZ             R0, loc_4AD866                                         ; +0x8e, 0x4ad852\nMOV             R0, R4; this                                           ; +0x90, 0x4ad854\nBL              _ZN7cocos2d8CCObject11autoreleaseEv; cocos2d::CCObject::autorelease(void) ; +0x92, 0x4ad856\nB               loc_4AD870                                             ; +0x96, 0x4ad85a\nMOV             R0, R4; p                                              ; +0x98, 0x4ad85c\nBL              _ZdlPv; operator delete(void *)                        ; +0x9a, 0x4ad85e\nBL              __cxa_end_cleanup                                      ; +0x9e, 0x4ad862\nLDR             R3, [R4]                                               ; +0xa2, 0x4ad866\nMOV             R0, R4                                                 ; +0xa4, 0x4ad868\nMOV             R4, R5                                                 ; +0xa6, 0x4ad86a\nLDR             R3, [R3,#8]                                            ; +0xa8, 0x4ad86c\nBLX             R3                                                     ; +0xaa, 0x4ad86e\nMOV             R0, R4                                                 ; +0xac, 0x4ad870\nPOP             {R3-R5,PC}                                             ; +0xae, 0x4ad872", "xrefs": ["GJUserCell::onViewFriendRequest @ 0x339038", "GJRequestCell::onViewFriendRequest @ 0x339752", "ProfilePage::onFriend @ 0x4c6e68"], "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"}