{"type": "func", "start": 4296091360, "end": 4296091556, "name": "GJMessageCell::onDeleteMessage", "pseudocode": "// \n// GJMessageCell::onDeleteMessage from 0x1001126e0 to 0x1001127a4 (196 bytes)\n// \n// 1 xrefs:\n// > GJMessageCell::loadFromMessage @ 0x10010ab04\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 GJMessageCell::onDeleteMessage(GJMessageCell *a1, cocos2d::CCObject *a2)\n{\n  GJUserMessage *m_message; // x8\n  ButtonSprite **v4; // x19\n  void *__p[2]; // [xsp+8h] [xbp-28h] BYREF\n  char v6; // [xsp+1Fh] [xbp-11h]\n\n  m_message = a1->m_message;\n  if ( m_message && m_message->m_accountID >= 1 )\n  {\n    sub_100009900(__p, \"Are you sure you want to <cr>delete</c> this message?\");\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; GJMessageCell::onDeleteMessage from 0x1001126e0 to 0x1001127a4 (196 bytes)\n; \n; 1 xrefs:\n; > GJMessageCell::loadFromMessage @ 0x10010ab04\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, 0x1001126e0\nSTP             X20, X19, [SP,#0x30+var_10]                            ; +0x4, 0x1001126e4\nSTP             X29, X30, [SP,#0x30+var_s0]                            ; +0x8, 0x1001126e8\nADD             X29, SP, #0x30                                         ; +0xc, 0x1001126ec\nLDR             X8, [X0,#0x240]                                        ; +0x10, 0x1001126f0\nCBZ             X8, loc_100112794                                      ; +0x14, 0x1001126f4\nLDR             W8, [X8,#0x140]                                        ; +0x18, 0x1001126f8\nCMP             W8, #1                                                 ; +0x1c, 0x1001126fc\nB.LT            loc_100112794                                          ; +0x20, 0x100112700\nMOV             X19, X0                                                ; +0x24, 0x100112704\nADRL            X1, aAreYouSureYouW_7; \"Are you sure you want to <cr>delete</c>\"... ; +0x28, 0x100112708\nADD             X0, SP, #0x30+__p; int                                 ; +0x30, 0x100112710\nBL              sub_100009900                                          ; +0x34, 0x100112714\nADRL            X3, aBack; \"Back\"                                      ; +0x38, 0x100112718\nADRL            X1, aDelete; \"Delete\"                                  ; +0x40, 0x100112720\nMOV             W8, #0x43BE0000                                        ; +0x48, 0x100112728\nFMOV            S0, W8                                                 ; +0x4c, 0x10011272c\nADD             X0, X19, #0x228                                        ; +0x50, 0x100112730\nADD             X2, SP, #0x30+__p                                      ; +0x54, 0x100112734\nFMOV            S1, WZR                                                ; +0x58, 0x100112738\nFMOV            S2, #1.0                                               ; +0x5c, 0x10011273c\nMOV             X4, X1                                                 ; +0x60, 0x100112740\nMOV             W5, #0                                                 ; +0x64, 0x100112744\nBL              FLAlertLayer__create                                   ; +0x68, 0x100112748\nMOV             X19, X0                                                ; +0x6c, 0x10011274c\nLDRSB           W8, [SP,#0x30+var_11]                                  ; +0x70, 0x100112750\nTBZ             W8, #0x1F, loc_100112760                               ; +0x74, 0x100112754\nLDR             X0, [SP,#0x30+__p]; __p                                ; +0x78, 0x100112758\nBL              __ZdlPv; operator delete(void *)                       ; +0x7c, 0x10011275c\nLDR             X0, [X19,#0x258]                                       ; +0x80, 0x100112760\nADRL            X1, aGjButton06Png; \"GJ_button_06.png\"                 ; +0x84, 0x100112764\nBL              ButtonSprite__updateBGImage                            ; +0x8c, 0x10011276c\nLDR             X8, [X19]                                              ; +0x90, 0x100112770\nLDR             X8, [X8,#0x48]                                         ; +0x94, 0x100112774\nMOV             X0, X19                                                ; +0x98, 0x100112778\nMOV             W1, #1                                                 ; +0x9c, 0x10011277c\nBLR             X8                                                     ; +0xa0, 0x100112780\nLDR             X8, [X19]                                              ; +0xa4, 0x100112784\nLDR             X8, [X8,#0x508]                                        ; +0xa8, 0x100112788\nMOV             X0, X19                                                ; +0xac, 0x10011278c\nBLR             X8                                                     ; +0xb0, 0x100112790\nLDP             X29, X30, [SP,#0x30+var_s0]                            ; +0xb4, 0x100112794\nLDP             X20, X19, [SP,#0x30+var_10]                            ; +0xb8, 0x100112798\nADD             SP, SP, #0x40 ; '@'                                    ; +0xbc, 0x10011279c\nRET                                                                    ; +0xc0, 0x1001127a0", "xrefs": ["GJMessageCell::loadFromMessage @ 0x10010ab04"], "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"}