{"type": "func", "start": 4296089584, "end": 4296089692, "name": "GJRequestCell::onViewFriendRequest", "pseudocode": "// \n// GJRequestCell::onViewFriendRequest from 0x100111ff0 to 0x10011205c (108 bytes)\n// \n// 1 xrefs:\n// > GJRequestCell::loadFromScore @ 0x10010a45c\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 GJRequestCell::onViewFriendRequest(GJRequestCell *a1, cocos2d::CCObject *a2)\n{\n  GJUserScore *m_score; // x8\n  GameLevelManager *v4; // x0\n  GJFriendRequest *v5; // x0\n  GJFriendRequest *v6; // x20\n  FriendRequestPopup *v7; // x0\n\n  m_score = a1->m_score;\n  if ( m_score && m_score->m_accountID >= 1 )\n  {\n    v4 = GameLevelManager::sharedState();\n    v5 = GameLevelManager::friendRequestFromAccountID(v4, a1->m_score->m_accountID);\n    if ( v5 )\n    {\n      v6 = v5;\n      GJRequestCell::markAsRead(a1);\n      v7 = FriendRequestPopup::create(v6);\n      ((void (__fastcall *)(FriendRequestPopup *))v7->show)(v7);\n    }\n  }\n}", "assembly": "; \n; GJRequestCell::onViewFriendRequest from 0x100111ff0 to 0x10011205c (108 bytes)\n; \n; 1 xrefs:\n; > GJRequestCell::loadFromScore @ 0x10010a45c\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\nSTP             X20, X19, [SP,#-0x10+var_10]!                          ; +0x0, 0x100111ff0\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x100111ff4\nADD             X29, SP, #0x10                                         ; +0x8, 0x100111ff8\nLDR             X8, [X0,#0x240]                                        ; +0xc, 0x100111ffc\nCBZ             X8, loc_100112050                                      ; +0x10, 0x100112000\nLDR             W8, [X8,#0x178]                                        ; +0x14, 0x100112004\nCMP             W8, #1                                                 ; +0x18, 0x100112008\nB.LT            loc_100112050                                          ; +0x1c, 0x10011200c\nMOV             X19, X0                                                ; +0x20, 0x100112010\nBL              GameLevelManager__sharedState                          ; +0x24, 0x100112014\nLDR             X8, [X19,#0x240]                                       ; +0x28, 0x100112018\nLDR             W1, [X8,#0x178]                                        ; +0x2c, 0x10011201c\nBL              GameLevelManager__friendRequestFromAccountID           ; +0x30, 0x100112020\nCBZ             X0, loc_100112050                                      ; +0x34, 0x100112024\nMOV             X20, X0                                                ; +0x38, 0x100112028\nMOV             X0, X19                                                ; +0x3c, 0x10011202c\nBL              GJRequestCell__markAsRead                              ; +0x40, 0x100112030\nMOV             X0, X20                                                ; +0x44, 0x100112034\nBL              FriendRequestPopup__create                             ; +0x48, 0x100112038\nLDR             X8, [X0]                                               ; +0x4c, 0x10011203c\nLDR             X1, [X8,#0x508]                                        ; +0x50, 0x100112040\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x54, 0x100112044\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x58, 0x100112048\nBR              X1                                                     ; +0x5c, 0x10011204c\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x60, 0x100112050\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x64, 0x100112054\nRET                                                                    ; +0x68, 0x100112058", "xrefs": ["GJRequestCell::loadFromScore @ 0x10010a45c"], "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"}