{"type": "func", "start": 5369729568, "end": 5369729898, "name": "InvitesPopup::onViewRequest", "pseudocode": "// \n// InvitesPopup::onViewRequest from 0x1400f9220 to 0x1400f936a (330 bytes)\n// \n// 2 xrefs:\n// > InvitesPopup::buildRows @ 0x1400f8f35\n// > <???> @ 0x1409153a4\n// \n// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 11:26:39 +0000\n// \n\n// Hidden C++ exception states: #wind=1\n__int64 __fastcall InvitesPopup::onViewRequest(__int64 a1, __int64 a2)\n{\n  __int64 result; // rax\n  __int64 v4; // rdi\n  cocos2d::CCObject *v5; // rbx\n  __int64 (__fastcall *v6)(__int64); // rdx\n\n  result = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a2 + 632LL))(a2);\n  v4 = result;\n  if ( result )\n  {\n    v5 = (cocos2d::CCObject *)operator new(0x2C0u);\n    FLAlertLayer::FLAlertLayer((__int64)v5);\n    *(_QWORD *)v5 = &ThreadRequestPopup::`vftable';\n    *((_QWORD *)v5 + 40) = &ThreadRequestPopup::`vftable';\n    *((_QWORD *)v5 + 41) = &ThreadRequestPopup::`vftable';\n    *((_QWORD *)v5 + 42) = &ThreadRequestPopup::`vftable';\n    *((_QWORD *)v5 + 43) = &ThreadRequestPopup::`vftable';\n    *((_QWORD *)v5 + 44) = &ThreadRequestPopup::`vftable';\n    *((_QWORD *)v5 + 51) = &ThreadRequestPopup::`vftable';\n    *((_QWORD *)v5 + 54) = &ThreadRequestPopup::`vftable';\n    *((_QWORD *)v5 + 68) = &ThreadRequestPopup::`vftable';\n    *((_QWORD *)v5 + 83) = 0;\n    *((_QWORD *)v5 + 84) = 0;\n    *((_QWORD *)v5 + 85) = 0;\n    *((_QWORD *)v5 + 86) = 0;\n    *((_QWORD *)v5 + 87) = 0;\n    if ( (unsigned __int8)ThreadRequestPopup::init(v5, v4, a1) )\n    {\n      cocos2d::CCObject::autorelease(v5);\n    }\n    else\n    {\n      (*(void (__fastcall **)(cocos2d::CCObject *, __int64))(*(_QWORD *)v5 + 8LL))(v5, 1);\n      v5 = nullptr;\n    }\n    v6 = *(__int64 (__fastcall **)(__int64))(*(_QWORD *)v5 + 1064LL);\n    if ( v6 == FLAlertLayer::show )\n      return FLAlertLayer::show((__int64)v5);\n    else\n      return v6((__int64)v5);\n  }\n  return result;\n}", "assembly": "; \n; InvitesPopup::onViewRequest from 0x1400f9220 to 0x1400f936a (330 bytes)\n; \n; 2 xrefs:\n; > InvitesPopup::buildRows @ 0x1400f8f35\n; > <???> @ 0x1409153a4\n; \n; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 11:26:39 +0000\n; \nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x1400f9220\nmov     [rsp+arg_10], rbp                                              ; +0x5, 0x1400f9225\nmov     [rsp+arg_18], rsi                                              ; +0xa, 0x1400f922a\npush    rdi                                                            ; +0xf, 0x1400f922f\nsub     rsp, 20h                                                       ; +0x10, 0x1400f9230\nmov     rsi, rcx                                                       ; +0x14, 0x1400f9234\nmov     rax, [rdx]                                                     ; +0x17, 0x1400f9237\nmov     rcx, rdx                                                       ; +0x1a, 0x1400f923a\ncall    qword ptr [rax+278h]                                           ; +0x1d, 0x1400f923d\nmov     rdi, rax                                                       ; +0x23, 0x1400f9243\ntest    rax, rax                                                       ; +0x26, 0x1400f9246\njz      loc_1400F9355                                                  ; +0x29, 0x1400f9249\nmov     ecx, 2C0h; Size                                                ; +0x2f, 0x1400f924f\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x34, 0x1400f9254\nmov     rbx, rax                                                       ; +0x39, 0x1400f9259\nmov     [rsp+28h+arg_8], rax                                           ; +0x3c, 0x1400f925c\nmov     rcx, rax                                                       ; +0x41, 0x1400f9261\ncall    FLAlertLayer__FLAlertLayer                                     ; +0x44, 0x1400f9264\nlea     rax, ??_7ThreadRequestPopup@@6B@; const ThreadRequestPopup::`vftable' ; +0x49, 0x1400f9269\nmov     [rbx], rax                                                     ; +0x50, 0x1400f9270\nlea     rax, ??_7ThreadRequestPopup@@6B@_0; const ThreadRequestPopup::`vftable' ; +0x53, 0x1400f9273\nmov     [rbx+140h], rax                                                ; +0x5a, 0x1400f927a\nlea     rax, ??_7ThreadRequestPopup@@6B@_1; const ThreadRequestPopup::`vftable' ; +0x61, 0x1400f9281\nmov     [rbx+148h], rax                                                ; +0x68, 0x1400f9288\nlea     rax, ??_7ThreadRequestPopup@@6B@_2; const ThreadRequestPopup::`vftable' ; +0x6f, 0x1400f928f\nmov     [rbx+150h], rax                                                ; +0x76, 0x1400f9296\nlea     rax, ??_7ThreadRequestPopup@@6B@_3; const ThreadRequestPopup::`vftable' ; +0x7d, 0x1400f929d\nmov     [rbx+158h], rax                                                ; +0x84, 0x1400f92a4\nlea     rax, ??_7ThreadRequestPopup@@6B@_4; const ThreadRequestPopup::`vftable' ; +0x8b, 0x1400f92ab\nmov     [rbx+160h], rax                                                ; +0x92, 0x1400f92b2\nlea     rax, ??_7ThreadRequestPopup@@6B@_5; const ThreadRequestPopup::`vftable' ; +0x99, 0x1400f92b9\nmov     [rbx+198h], rax                                                ; +0xa0, 0x1400f92c0\nlea     rax, ??_7ThreadRequestPopup@@6B@_6; const ThreadRequestPopup::`vftable' ; +0xa7, 0x1400f92c7\nmov     [rbx+1B0h], rax                                                ; +0xae, 0x1400f92ce\nlea     rax, ??_7ThreadRequestPopup@@6B@_7; const ThreadRequestPopup::`vftable' ; +0xb5, 0x1400f92d5\nmov     [rbx+220h], rax                                                ; +0xbc, 0x1400f92dc\nxor     ebp, ebp                                                       ; +0xc3, 0x1400f92e3\nmov     [rbx+298h], rbp                                                ; +0xc5, 0x1400f92e5\nmov     [rbx+2A0h], rbp                                                ; +0xcc, 0x1400f92ec\nmov     [rbx+2A8h], rbp                                                ; +0xd3, 0x1400f92f3\nmov     [rbx+2B0h], rbp                                                ; +0xda, 0x1400f92fa\nmov     [rbx+2B8h], rbp                                                ; +0xe1, 0x1400f9301\nmov     r8, rsi                                                        ; +0xe8, 0x1400f9308\nmov     rdx, rdi                                                       ; +0xeb, 0x1400f930b\nmov     rcx, rbx                                                       ; +0xee, 0x1400f930e\ncall    ThreadRequestPopup__init                                       ; +0xf1, 0x1400f9311\nmov     rcx, rbx                                                       ; +0xf6, 0x1400f9316\ntest    al, al                                                         ; +0xf9, 0x1400f9319\njz      short loc_1400F9325                                            ; +0xfb, 0x1400f931b\ncall    cs:?autorelease@CCObject@cocos2d@@QEAAPEAV12@XZ; cocos2d::CCObject::autorelease(void) ; +0xfd, 0x1400f931d\njmp     short loc_1400F9333                                            ; +0x103, 0x1400f9323\nmov     rax, [rbx]                                                     ; +0x105, 0x1400f9325\nmov     edx, 1                                                         ; +0x108, 0x1400f9328\ncall    qword ptr [rax+8]                                              ; +0x10d, 0x1400f932d\nmov     rbx, rbp                                                       ; +0x110, 0x1400f9330\nmov     rax, [rbx]                                                     ; +0x113, 0x1400f9333\nmov     rdx, [rax+428h]                                                ; +0x116, 0x1400f9336\nlea     rax, FLAlertLayer__show                                        ; +0x11d, 0x1400f933d\nmov     rcx, rbx                                                       ; +0x124, 0x1400f9344\ncmp     rdx, rax                                                       ; +0x127, 0x1400f9347\njnz     short loc_1400F9353                                            ; +0x12a, 0x1400f934a\ncall    FLAlertLayer__show                                             ; +0x12c, 0x1400f934c\njmp     short loc_1400F9355                                            ; +0x131, 0x1400f9351\ncall    rdx                                                            ; +0x133, 0x1400f9353\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x135, 0x1400f9355\nmov     rbp, [rsp+28h+arg_10]                                          ; +0x13a, 0x1400f935a\nmov     rsi, [rsp+28h+arg_18]                                          ; +0x13f, 0x1400f935f\nadd     rsp, 20h                                                       ; +0x144, 0x1400f9364\npop     rdi                                                            ; +0x148, 0x1400f9368\nretn                                                                   ; +0x149, 0x1400f9369", "xrefs": ["InvitesPopup::buildRows @ 0x1400f8f35", "<???> @ 0x1409153a4"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}