{"type": "func", "start": 4297745184, "end": 4297745294, "name": "FriendRequestPopup::keyBackClicked", "pseudocode": "// \n// FriendRequestPopup::keyBackClicked from 0x1002a6320 to 0x1002a638e (110 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x1008fa718\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\nvoid __fastcall FriendRequestPopup::keyBackClicked(FriendRequestPopup *a1)\n{\n  GJFriendRequest *m_request; // rax\n  GameLevelManager *v2; // rax\n\n  m_request = a1->m_request;\n  if ( m_request && !m_request->m_isRead )\n  {\n    v2 = GameLevelManager::sharedState();\n    GameLevelManager::readFriendRequest(v2, a1->m_request->m_requestID);\n    a1->m_request->m_isRead = 1;\n  }\n  ((void (__fastcall *)(FriendRequestPopup *, _QWORD))a1->setKeypadEnabled)(a1, 0);\n  ((void (__fastcall *)(FriendRequestPopup *, __int64))a1->removeFromParentAndCleanup)(a1, 1);\n}", "assembly": "; \n; FriendRequestPopup::keyBackClicked from 0x1002a6320 to 0x1002a638e (110 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x1008fa718\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    rbp                                                            ; +0x0, 0x1002a6320\nmov     rbp, rsp                                                       ; +0x1, 0x1002a6321\npush    rbx                                                            ; +0x4, 0x1002a6324\npush    rax                                                            ; +0x5, 0x1002a6325\nmov     rbx, rdi                                                       ; +0x6, 0x1002a6326\nmov     rax, [rdi+298h]                                                ; +0x9, 0x1002a6329\ntest    rax, rax                                                       ; +0x10, 0x1002a6330\njz      short loc_1002A6366                                            ; +0x13, 0x1002a6333\ncmp     byte ptr [rax+178h], 0                                         ; +0x15, 0x1002a6335\njnz     short loc_1002A6366                                            ; +0x1c, 0x1002a633c\ncall    GameLevelManager__sharedState                                  ; +0x1e, 0x1002a633e\nmov     rcx, [rbx+298h]                                                ; +0x23, 0x1002a6343\nmov     esi, [rcx+13Ch]                                                ; +0x2a, 0x1002a634a\nmov     rdi, rax                                                       ; +0x30, 0x1002a6350\ncall    GameLevelManager__readFriendRequest                            ; +0x33, 0x1002a6353\nmov     rax, [rbx+298h]                                                ; +0x38, 0x1002a6358\nmov     byte ptr [rax+178h], 1                                         ; +0x3f, 0x1002a635f\nmov     rax, [rbx]                                                     ; +0x46, 0x1002a6366\nmov     rdi, rbx                                                       ; +0x49, 0x1002a6369\nxor     esi, esi                                                       ; +0x4c, 0x1002a636c\ncall    qword ptr [rax+420h]                                           ; +0x4e, 0x1002a636e\nmov     rax, [rbx]                                                     ; +0x54, 0x1002a6374\nmov     rax, [rax+200h]                                                ; +0x57, 0x1002a6377\nmov     rdi, rbx                                                       ; +0x5e, 0x1002a637e\nmov     esi, 1                                                         ; +0x61, 0x1002a6381\nadd     rsp, 8                                                         ; +0x66, 0x1002a6386\npop     rbx                                                            ; +0x6a, 0x1002a638a\npop     rbp                                                            ; +0x6b, 0x1002a638b\njmp     rax                                                            ; +0x6c, 0x1002a638c", "xrefs": ["<???> @ 0x1008fa718"], "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"}