{"type": "func", "start": 5371419088, "end": 5371419393, "name": "FriendRequestPopup::create", "pseudocode": "// \n// FriendRequestPopup::create from 0x1402959d0 to 0x140295b01 (305 bytes)\n// \n// 3 xrefs:\n// > GJRequestCell::onViewFriendRequest @ 0x1400bcc4f\n// > ProfilePage::onFriend @ 0x1403c4155\n// > <???> @ 0x1406d1bc8\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\nFriendRequestPopup *FriendRequestPopup::create(GJFriendRequest *a1)\n{\n  FriendRequestPopup *v2; // rdi\n\n  v2 = (FriendRequestPopup *)operator new(0x2B8u);\n  FLAlertLayer::FLAlertLayer(v2);\n  v2->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable = (FriendRequestPopup_vtbl *)&FriendRequestPopup::`vftable';\n  v2->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCTouchDelegate::__vftable = (cocos2d::CCTouchDelegate_vtbl *)&FriendRequestPopup::`vftable';\n  v2->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCAccelerometerDelegate::__vftable = (cocos2d::CCAccelerometerDelegate_vtbl *)&FriendRequestPopup::`vftable';\n  v2->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCKeypadDelegate::__vftable = (cocos2d::CCKeypadDelegate_vtbl *)&FriendRequestPopup::`vftable';\n  v2->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCKeyboardDelegate::__vftable = (cocos2d::CCKeyboardDelegate_vtbl *)&FriendRequestPopup::`vftable';\n  v2->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCMouseDelegate::__vftable = (cocos2d::CCMouseDelegate_vtbl *)&FriendRequestPopup::`vftable';\n  v2->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCRGBAProtocol::__vftable = (cocos2d::CCRGBAProtocol_vtbl *)&FriendRequestPopup::`vftable';\n  v2->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCBlendProtocol::__vftable = (cocos2d::CCBlendProtocol_vtbl *)&FriendRequestPopup::`vftable';\n  v2->UploadActionDelegate::__vftable = (UploadActionDelegate_vtbl *)&FriendRequestPopup::`vftable';\n  v2->UploadPopupDelegate::__vftable = (UploadPopupDelegate_vtbl *)&FriendRequestPopup::`vftable';\n  v2->FLAlertLayerProtocol::__vftable = (FLAlertLayerProtocol_vtbl *)&FriendRequestPopup::`vftable';\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    return v2;\n  }\n  else\n  {\n    ((void (__fastcall *)(FriendRequestPopup *, __int64))v2->~FriendRequestPopup)(v2, 1);\n    return nullptr;\n  }\n}", "assembly": "; \n; FriendRequestPopup::create from 0x1402959d0 to 0x140295b01 (305 bytes)\n; \n; 3 xrefs:\n; > GJRequestCell::onViewFriendRequest @ 0x1400bcc4f\n; > ProfilePage::onFriend @ 0x1403c4155\n; > <???> @ 0x1406d1bc8\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, 0x1402959d0\nmov     [rsp+arg_10], rsi                                              ; +0x5, 0x1402959d5\npush    rdi                                                            ; +0xa, 0x1402959da\nsub     rsp, 20h                                                       ; +0xb, 0x1402959db\nmov     rbx, rcx                                                       ; +0xf, 0x1402959df\nmov     ecx, 2B8h; Size                                                ; +0x12, 0x1402959e2\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x17, 0x1402959e7\nmov     rdi, rax                                                       ; +0x1c, 0x1402959ec\nmov     [rsp+28h+arg_8], rax                                           ; +0x1f, 0x1402959ef\nmov     rcx, rax                                                       ; +0x24, 0x1402959f4\ncall    FLAlertLayer__FLAlertLayer                                     ; +0x27, 0x1402959f7\nlea     rax, ??_7FriendRequestPopup@@6B@; const FriendRequestPopup::`vftable' ; +0x2c, 0x1402959fc\nmov     [rdi], rax                                                     ; +0x33, 0x140295a03\nlea     rax, ??_7FriendRequestPopup@@6B@_0; const FriendRequestPopup::`vftable' ; +0x36, 0x140295a06\nmov     [rdi+140h], rax                                                ; +0x3d, 0x140295a0d\nlea     rax, ??_7FriendRequestPopup@@6B@_1; const FriendRequestPopup::`vftable' ; +0x44, 0x140295a14\nmov     [rdi+148h], rax                                                ; +0x4b, 0x140295a1b\nlea     rax, ??_7FriendRequestPopup@@6B@_2; const FriendRequestPopup::`vftable' ; +0x52, 0x140295a22\nmov     [rdi+150h], rax                                                ; +0x59, 0x140295a29\nlea     rax, ??_7FriendRequestPopup@@6B@_3; const FriendRequestPopup::`vftable' ; +0x60, 0x140295a30\nmov     [rdi+158h], rax                                                ; +0x67, 0x140295a37\nlea     rax, ??_7FriendRequestPopup@@6B@_4; const FriendRequestPopup::`vftable' ; +0x6e, 0x140295a3e\nmov     [rdi+160h], rax                                                ; +0x75, 0x140295a45\nlea     rax, ??_7FriendRequestPopup@@6B@_5; const FriendRequestPopup::`vftable' ; +0x7c, 0x140295a4c\nmov     [rdi+198h], rax                                                ; +0x83, 0x140295a53\nlea     rax, ??_7FriendRequestPopup@@6B@_6; const FriendRequestPopup::`vftable' ; +0x8a, 0x140295a5a\nmov     [rdi+1B0h], rax                                                ; +0x91, 0x140295a61\nlea     rax, ??_7FriendRequestPopup@@6B@_7; const FriendRequestPopup::`vftable' ; +0x98, 0x140295a68\nmov     [rdi+278h], rax                                                ; +0x9f, 0x140295a6f\nlea     rax, ??_7FriendRequestPopup@@6B@_8; const FriendRequestPopup::`vftable' ; +0xa6, 0x140295a76\nmov     [rdi+280h], rax                                                ; +0xad, 0x140295a7d\nlea     rax, ??_7FriendRequestPopup@@6B@_9; const FriendRequestPopup::`vftable' ; +0xb4, 0x140295a84\nmov     [rdi+288h], rax                                                ; +0xbb, 0x140295a8b\nmov     byte ptr [rdi+290h], 0                                         ; +0xc2, 0x140295a92\nxor     esi, esi                                                       ; +0xc9, 0x140295a99\nmov     [rdi+298h], rsi                                                ; +0xcb, 0x140295a9b\nmov     [rdi+2A0h], rsi                                                ; +0xd2, 0x140295aa2\nmov     [rdi+2A8h], rsi                                                ; +0xd9, 0x140295aa9\nmov     [rdi+2B0h], rsi                                                ; +0xe0, 0x140295ab0\nmov     rdx, rbx                                                       ; +0xe7, 0x140295ab7\nmov     rcx, rdi                                                       ; +0xea, 0x140295aba\ncall    FriendRequestPopup__init                                       ; +0xed, 0x140295abd\nmov     rcx, rdi                                                       ; +0xf2, 0x140295ac2\ntest    al, al                                                         ; +0xf5, 0x140295ac5\njz      short loc_140295AE2                                            ; +0xf7, 0x140295ac7\ncall    cs:?autorelease@CCObject@cocos2d@@QEAAPEAV12@XZ; cocos2d::CCObject::autorelease(void) ; +0xf9, 0x140295ac9\nmov     rax, rdi                                                       ; +0xff, 0x140295acf\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x102, 0x140295ad2\nmov     rsi, [rsp+28h+arg_10]                                          ; +0x107, 0x140295ad7\nadd     rsp, 20h                                                       ; +0x10c, 0x140295adc\npop     rdi                                                            ; +0x110, 0x140295ae0\nretn                                                                   ; +0x111, 0x140295ae1\nmov     r8, [rdi]                                                      ; +0x112, 0x140295ae2\nmov     edx, 1                                                         ; +0x115, 0x140295ae5\ncall    qword ptr [r8+8]                                               ; +0x11a, 0x140295aea\nmov     rax, rsi                                                       ; +0x11e, 0x140295aee\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x121, 0x140295af1\nmov     rsi, [rsp+28h+arg_10]                                          ; +0x126, 0x140295af6\nadd     rsp, 20h                                                       ; +0x12b, 0x140295afb\npop     rdi                                                            ; +0x12f, 0x140295aff\nretn                                                                   ; +0x130, 0x140295b00", "xrefs": ["GJRequestCell::onViewFriendRequest @ 0x1400bcc4f", "ProfilePage::onFriend @ 0x1403c4155", "<???> @ 0x1406d1bc8"], "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"}