{"type": "func", "start": 5369482176, "end": 5369482347, "name": "GJRequestCell::onViewFriendRequest", "pseudocode": "// \n// GJRequestCell::onViewFriendRequest from 0x1400bcbc0 to 0x1400bcc6b (171 bytes)\n// \n// 2 xrefs:\n// > GJRequestCell::loadFromScore @ 0x1400bc7a6\n// > <???> @ 0x1406c7dc4\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\nvoid GJRequestCell::onViewFriendRequest(GJRequestCell *a1, cocos2d::CCObject *a2)\n{\n  GJUserScore *m_score; // rax\n  __int64 v4; // rcx\n  GJFriendRequest *v5; // rdi\n  FriendRequestPopup *v6; // rax\n  void *v7; // [rsp+30h] [rbp+8h]\n\n  m_score = a1->m_score;\n  if ( m_score && m_score->m_accountID > 0 )\n  {\n    v4 = qword_1406C2EC0;\n    if ( !qword_1406C2EC0 )\n    {\n      v7 = operator new(0x3D0u);\n      qword_1406C2EC0 = sub_140141280(v7);\n      (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2EC0 + 72LL))(qword_1406C2EC0);\n      v4 = qword_1406C2EC0;\n    }\n    v5 = (GJFriendRequest *)cocos2d::CCDictionary::objectForKey(\n                              *(cocos2d::CCDictionary **)(v4 + 608),\n                              a1->m_score->m_accountID);\n    if ( v5 )\n    {\n      GJRequestCell::markAsRead(a1);\n      v6 = FriendRequestPopup::create(v5);\n      v6->show(v6);\n    }\n  }\n}", "assembly": "; \n; GJRequestCell::onViewFriendRequest from 0x1400bcbc0 to 0x1400bcc6b (171 bytes)\n; \n; 2 xrefs:\n; > GJRequestCell::loadFromScore @ 0x1400bc7a6\n; > <???> @ 0x1406c7dc4\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_8], rbx                                               ; +0x0, 0x1400bcbc0\npush    rdi                                                            ; +0x5, 0x1400bcbc5\nsub     rsp, 20h                                                       ; +0x6, 0x1400bcbc6\nmov     rbx, rcx                                                       ; +0xa, 0x1400bcbca\nmov     rax, [rcx+248h]                                                ; +0xd, 0x1400bcbcd\ntest    rax, rax                                                       ; +0x14, 0x1400bcbd4\njz      loc_1400BCC60                                                  ; +0x17, 0x1400bcbd7\ncmp     dword ptr [rax+188h], 0                                        ; +0x1d, 0x1400bcbdd\njle     short loc_1400BCC60                                            ; +0x24, 0x1400bcbe4\nmov     rcx, cs:qword_1406C2EC0                                        ; +0x26, 0x1400bcbe6\ntest    rcx, rcx                                                       ; +0x2d, 0x1400bcbed\njnz     short loc_1400BCC21                                            ; +0x30, 0x1400bcbf0\nmov     ecx, 3D0h; Size                                                ; +0x32, 0x1400bcbf2\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x37, 0x1400bcbf7\nmov     [rsp+28h+arg_0], rax                                           ; +0x3c, 0x1400bcbfc\nmov     rcx, rax                                                       ; +0x41, 0x1400bcc01\ncall    sub_140141280                                                  ; +0x44, 0x1400bcc04\nnop                                                                    ; +0x49, 0x1400bcc09\nmov     cs:qword_1406C2EC0, rax                                        ; +0x4a, 0x1400bcc0a\nmov     rdx, [rax]                                                     ; +0x51, 0x1400bcc11\nmov     rcx, rax                                                       ; +0x54, 0x1400bcc14\ncall    qword ptr [rdx+48h]                                            ; +0x57, 0x1400bcc17\nmov     rcx, cs:qword_1406C2EC0                                        ; +0x5a, 0x1400bcc1a\nmov     rax, [rbx+248h]                                                ; +0x61, 0x1400bcc21\nmovsxd  rdx, dword ptr [rax+188h]                                      ; +0x68, 0x1400bcc28\nmov     rcx, [rcx+260h]                                                ; +0x6f, 0x1400bcc2f\ncall    cs:?objectForKey@CCDictionary@cocos2d@@QEAAPEAVCCObject@2@_J@Z; cocos2d::CCDictionary::objectForKey(__int64) ; +0x76, 0x1400bcc36\nmov     rdi, rax                                                       ; +0x7c, 0x1400bcc3c\ntest    rax, rax                                                       ; +0x7f, 0x1400bcc3f\njz      short loc_1400BCC60                                            ; +0x82, 0x1400bcc42\nmov     rcx, rbx                                                       ; +0x84, 0x1400bcc44\ncall    GJRequestCell__markAsRead                                      ; +0x87, 0x1400bcc47\nmov     rcx, rdi                                                       ; +0x8c, 0x1400bcc4c\ncall    FriendRequestPopup__create                                     ; +0x8f, 0x1400bcc4f\nmov     rdx, [rax]                                                     ; +0x94, 0x1400bcc54\nmov     rcx, rax                                                       ; +0x97, 0x1400bcc57\ncall    qword ptr [rdx+410h]                                           ; +0x9a, 0x1400bcc5a\nmov     rbx, [rsp+28h+arg_8]                                           ; +0xa0, 0x1400bcc60\nadd     rsp, 20h                                                       ; +0xa5, 0x1400bcc65\npop     rdi                                                            ; +0xa9, 0x1400bcc69\nretn                                                                   ; +0xaa, 0x1400bcc6a", "xrefs": ["GJRequestCell::loadFromScore @ 0x1400bc7a6", "<???> @ 0x1406c7dc4"], "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"}