{"type": "func", "start": 4296087404, "end": 4296087604, "name": "GJUserCell::onCancelFriendRequest", "pseudocode": "// \n// GJUserCell::onCancelFriendRequest from 0x10011176c to 0x100111834 (200 bytes)\n// \n// 1 xrefs:\n// > GJUserCell::loadFromScore @ 0x100109d08\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 GJUserCell::onCancelFriendRequest(GJUserCell *a1, cocos2d::CCObject *a2)\n{\n  GJUserScore *m_userScore; // x8\n  ButtonSprite **v4; // x19\n  void *__p[2]; // [xsp+8h] [xbp-28h] BYREF\n  char v6; // [xsp+1Fh] [xbp-11h]\n\n  m_userScore = a1->m_userScore;\n  if ( m_userScore && m_userScore->m_accountID >= 1 )\n  {\n    sub_100009900(__p, \"Are you sure you want to remove this friend request?\");\n    v4 = (ButtonSprite **)FLAlertLayer::create(\n                            &a1->FLAlertLayerProtocol,\n                            \"Cancel friend request\",\n                            __p,\n                            \"Back\",\n                            \"Remove\",\n                            0,\n                            380.0,\n                            0.0,\n                            1.0);\n    if ( v6 < 0 )\n      operator delete(__p[0]);\n    ButtonSprite::updateBGImage(v4[75], \"GJ_button_06.png\");\n    (*(void (__fastcall **)(ButtonSprite **, __int64))&(*v4)->m_fVertexZ)(v4, 3);\n    (*(void (__fastcall **)(ButtonSprite **))&(*v4)[1].m_fTextureTop)(v4);\n  }\n}", "assembly": "; \n; GJUserCell::onCancelFriendRequest from 0x10011176c to 0x100111834 (200 bytes)\n; \n; 1 xrefs:\n; > GJUserCell::loadFromScore @ 0x100109d08\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\nSUB             SP, SP, #0x40                                          ; +0x0, 0x10011176c\nSTP             X20, X19, [SP,#0x30+var_10]                            ; +0x4, 0x100111770\nSTP             X29, X30, [SP,#0x30+var_s0]                            ; +0x8, 0x100111774\nADD             X29, SP, #0x30                                         ; +0xc, 0x100111778\nLDR             X8, [X0,#0x240]                                        ; +0x10, 0x10011177c\nCBZ             X8, loc_100111824                                      ; +0x14, 0x100111780\nLDR             W8, [X8,#0x178]                                        ; +0x18, 0x100111784\nCMP             W8, #1                                                 ; +0x1c, 0x100111788\nB.LT            loc_100111824                                          ; +0x20, 0x10011178c\nMOV             X19, X0                                                ; +0x24, 0x100111790\nADRL            X1, aAreYouSureYouW_4; \"Are you sure you want to remove this fr\"... ; +0x28, 0x100111794\nADD             X0, SP, #0x30+__p; int                                 ; +0x30, 0x10011179c\nBL              sub_100009900                                          ; +0x34, 0x1001117a0\nADRL            X1, aCancelFriendRe; \"Cancel friend request\"           ; +0x38, 0x1001117a4\nMOV             W8, #0x43BE0000                                        ; +0x40, 0x1001117ac\nADRL            X3, aBack; \"Back\"                                      ; +0x44, 0x1001117b0\nFMOV            S0, W8                                                 ; +0x4c, 0x1001117b8\nADD             X0, X19, #0x228                                        ; +0x50, 0x1001117bc\nADD             X2, SP, #0x30+__p                                      ; +0x54, 0x1001117c0\nFMOV            S1, WZR                                                ; +0x58, 0x1001117c4\nADRL            X4, aRemove; \"Remove\"                                  ; +0x5c, 0x1001117c8\nFMOV            S2, #1.0                                               ; +0x64, 0x1001117d0\nMOV             W5, #0                                                 ; +0x68, 0x1001117d4\nBL              FLAlertLayer__create                                   ; +0x6c, 0x1001117d8\nMOV             X19, X0                                                ; +0x70, 0x1001117dc\nLDRSB           W8, [SP,#0x30+var_11]                                  ; +0x74, 0x1001117e0\nTBZ             W8, #0x1F, loc_1001117F0                               ; +0x78, 0x1001117e4\nLDR             X0, [SP,#0x30+__p]; __p                                ; +0x7c, 0x1001117e8\nBL              __ZdlPv; operator delete(void *)                       ; +0x80, 0x1001117ec\nLDR             X0, [X19,#0x258]                                       ; +0x84, 0x1001117f0\nADRL            X1, aGjButton06Png; \"GJ_button_06.png\"                 ; +0x88, 0x1001117f4\nBL              ButtonSprite__updateBGImage                            ; +0x90, 0x1001117fc\nLDR             X8, [X19]                                              ; +0x94, 0x100111800\nLDR             X8, [X8,#0x48]                                         ; +0x98, 0x100111804\nMOV             X0, X19                                                ; +0x9c, 0x100111808\nMOV             W1, #3                                                 ; +0xa0, 0x10011180c\nBLR             X8                                                     ; +0xa4, 0x100111810\nLDR             X8, [X19]                                              ; +0xa8, 0x100111814\nLDR             X8, [X8,#0x508]                                        ; +0xac, 0x100111818\nMOV             X0, X19                                                ; +0xb0, 0x10011181c\nBLR             X8                                                     ; +0xb4, 0x100111820\nLDP             X29, X30, [SP,#0x30+var_s0]                            ; +0xb8, 0x100111824\nLDP             X20, X19, [SP,#0x30+var_10]                            ; +0xbc, 0x100111828\nADD             SP, SP, #0x40 ; '@'                                    ; +0xc0, 0x10011182c\nRET                                                                    ; +0xc4, 0x100111830", "xrefs": ["GJUserCell::loadFromScore @ 0x100109d08"], "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"}