{"type": "func", "start": 4296089692, "end": 4296089888, "name": "GJRequestCell::onDeleteRequest", "pseudocode": "// \n// GJRequestCell::onDeleteRequest from 0x10011205c to 0x100112120 (196 bytes)\n// \n// 1 xrefs:\n// > GJRequestCell::loadFromScore @ 0x10010a588\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::onDeleteRequest(GJRequestCell *a1, cocos2d::CCObject *a2)\n{\n  GJUserScore *m_score; // x8\n  ButtonSprite **v4; // x19\n  void *__p[2]; // [xsp+8h] [xbp-28h] BYREF\n  char v6; // [xsp+1Fh] [xbp-11h]\n\n  m_score = a1->m_score;\n  if ( m_score && m_score->m_accountID >= 1 )\n  {\n    sub_100009900(__p, \"Are you sure you want to <cr>delete</c> this friend request?\");\n    v4 = (ButtonSprite **)FLAlertLayer::create(\n                            &a1->FLAlertLayerProtocol,\n                            \"Delete\",\n                            __p,\n                            \"Back\",\n                            \"Delete\",\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, 1);\n    (*(void (__fastcall **)(ButtonSprite **))&(*v4)[1].m_fTextureTop)(v4);\n  }\n}", "assembly": "; \n; GJRequestCell::onDeleteRequest from 0x10011205c to 0x100112120 (196 bytes)\n; \n; 1 xrefs:\n; > GJRequestCell::loadFromScore @ 0x10010a588\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, 0x10011205c\nSTP             X20, X19, [SP,#0x30+var_10]                            ; +0x4, 0x100112060\nSTP             X29, X30, [SP,#0x30+var_s0]                            ; +0x8, 0x100112064\nADD             X29, SP, #0x30                                         ; +0xc, 0x100112068\nLDR             X8, [X0,#0x240]                                        ; +0x10, 0x10011206c\nCBZ             X8, loc_100112110                                      ; +0x14, 0x100112070\nLDR             W8, [X8,#0x178]                                        ; +0x18, 0x100112074\nCMP             W8, #1                                                 ; +0x1c, 0x100112078\nB.LT            loc_100112110                                          ; +0x20, 0x10011207c\nMOV             X19, X0                                                ; +0x24, 0x100112080\nADRL            X1, aAreYouSureYouW_6; \"Are you sure you want to <cr>delete</c>\"... ; +0x28, 0x100112084\nADD             X0, SP, #0x30+__p; int                                 ; +0x30, 0x10011208c\nBL              sub_100009900                                          ; +0x34, 0x100112090\nADRL            X3, aBack; \"Back\"                                      ; +0x38, 0x100112094\nADRL            X1, aDelete; \"Delete\"                                  ; +0x40, 0x10011209c\nMOV             W8, #0x43BE0000                                        ; +0x48, 0x1001120a4\nFMOV            S0, W8                                                 ; +0x4c, 0x1001120a8\nADD             X0, X19, #0x228                                        ; +0x50, 0x1001120ac\nADD             X2, SP, #0x30+__p                                      ; +0x54, 0x1001120b0\nFMOV            S1, WZR                                                ; +0x58, 0x1001120b4\nFMOV            S2, #1.0                                               ; +0x5c, 0x1001120b8\nMOV             X4, X1                                                 ; +0x60, 0x1001120bc\nMOV             W5, #0                                                 ; +0x64, 0x1001120c0\nBL              FLAlertLayer__create                                   ; +0x68, 0x1001120c4\nMOV             X19, X0                                                ; +0x6c, 0x1001120c8\nLDRSB           W8, [SP,#0x30+var_11]                                  ; +0x70, 0x1001120cc\nTBZ             W8, #0x1F, loc_1001120DC                               ; +0x74, 0x1001120d0\nLDR             X0, [SP,#0x30+__p]; __p                                ; +0x78, 0x1001120d4\nBL              __ZdlPv; operator delete(void *)                       ; +0x7c, 0x1001120d8\nLDR             X0, [X19,#0x258]                                       ; +0x80, 0x1001120dc\nADRL            X1, aGjButton06Png; \"GJ_button_06.png\"                 ; +0x84, 0x1001120e0\nBL              ButtonSprite__updateBGImage                            ; +0x8c, 0x1001120e8\nLDR             X8, [X19]                                              ; +0x90, 0x1001120ec\nLDR             X8, [X8,#0x48]                                         ; +0x94, 0x1001120f0\nMOV             X0, X19                                                ; +0x98, 0x1001120f4\nMOV             W1, #1                                                 ; +0x9c, 0x1001120f8\nBLR             X8                                                     ; +0xa0, 0x1001120fc\nLDR             X8, [X19]                                              ; +0xa4, 0x100112100\nLDR             X8, [X8,#0x508]                                        ; +0xa8, 0x100112104\nMOV             X0, X19                                                ; +0xac, 0x100112108\nBLR             X8                                                     ; +0xb0, 0x10011210c\nLDP             X29, X30, [SP,#0x30+var_s0]                            ; +0xb4, 0x100112110\nLDP             X20, X19, [SP,#0x30+var_10]                            ; +0xb8, 0x100112114\nADD             SP, SP, #0x40 ; '@'                                    ; +0xbc, 0x100112118\nRET                                                                    ; +0xc0, 0x10011211c", "xrefs": ["GJRequestCell::loadFromScore @ 0x10010a588"], "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"}