{"type": "func", "start": 4297962704, "end": 4297962880, "name": "GJMessagePopup::onRemove", "pseudocode": "// \n// GJMessagePopup::onRemove from 0x1002db4d0 to 0x1002db580 (176 bytes)\n// \n// 1 xrefs:\n// > GJMessagePopup::loadFromGJMessage @ 0x1002db004\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 GJMessagePopup::onRemove(GJMessagePopup *a1, cocos2d::CCObject *a2)\n{\n  FLAlertLayer *v3; // x19\n  void *__p[2]; // [xsp+8h] [xbp-28h] BYREF\n  char v5; // [xsp+1Fh] [xbp-11h]\n\n  sub_100009900(__p, \"Are you sure you want to <cr>delete</c> this message?\");\n  v3 = FLAlertLayer::create(\n         (__int64)&a1->FLAlertLayerProtocol,\n         (__int64)\"Delete\",\n         (__int64)__p,\n         (__int64)\"Back\",\n         (__int64)\"Delete\",\n         0,\n         380.0);\n  if ( v5 < 0 )\n    operator delete(__p[0]);\n  ButtonSprite::updateBGImage(v3->m_button2, \"GJ_button_06.png\");\n  ((void (__fastcall *)(FLAlertLayer *, __int64))v3->setTag)(v3, 2);\n  ((void (__fastcall *)(FLAlertLayer *))v3->show)(v3);\n}", "assembly": "; \n; GJMessagePopup::onRemove from 0x1002db4d0 to 0x1002db580 (176 bytes)\n; \n; 1 xrefs:\n; > GJMessagePopup::loadFromGJMessage @ 0x1002db004\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, 0x1002db4d0\nSTP             X20, X19, [SP,#0x30+var_10]                            ; +0x4, 0x1002db4d4\nSTP             X29, X30, [SP,#0x30+var_s0]                            ; +0x8, 0x1002db4d8\nADD             X29, SP, #0x30                                         ; +0xc, 0x1002db4dc\nMOV             X19, X0                                                ; +0x10, 0x1002db4e0\nADRL            X1, aAreYouSureYouW_7; \"Are you sure you want to <cr>delete</c>\"... ; +0x14, 0x1002db4e4\nADD             X0, SP, #0x30+__p; int                                 ; +0x1c, 0x1002db4ec\nBL              sub_100009900                                          ; +0x20, 0x1002db4f0\nADRL            X3, aBack; \"Back\"                                      ; +0x24, 0x1002db4f4\nADRL            X1, aDelete; \"Delete\"                                  ; +0x2c, 0x1002db4fc\nMOV             W8, #0x43BE0000                                        ; +0x34, 0x1002db504\nFMOV            S0, W8                                                 ; +0x38, 0x1002db508\nADD             X0, X19, #0x288                                        ; +0x3c, 0x1002db50c\nADD             X2, SP, #0x30+__p                                      ; +0x40, 0x1002db510\nFMOV            S1, WZR                                                ; +0x44, 0x1002db514\nFMOV            S2, #1.0                                               ; +0x48, 0x1002db518\nMOV             X4, X1                                                 ; +0x4c, 0x1002db51c\nMOV             W5, #0                                                 ; +0x50, 0x1002db520\nBL              FLAlertLayer__create                                   ; +0x54, 0x1002db524\nMOV             X19, X0                                                ; +0x58, 0x1002db528\nLDRSB           W8, [SP,#0x30+var_11]                                  ; +0x5c, 0x1002db52c\nTBZ             W8, #0x1F, loc_1002DB53C                               ; +0x60, 0x1002db530\nLDR             X0, [SP,#0x30+__p]; __p                                ; +0x64, 0x1002db534\nBL              __ZdlPv; operator delete(void *)                       ; +0x68, 0x1002db538\nLDR             X0, [X19,#0x258]                                       ; +0x6c, 0x1002db53c\nADRL            X1, aGjButton06Png; \"GJ_button_06.png\"                 ; +0x70, 0x1002db540\nBL              ButtonSprite__updateBGImage                            ; +0x78, 0x1002db548\nLDR             X8, [X19]                                              ; +0x7c, 0x1002db54c\nLDR             X8, [X8,#0x48]                                         ; +0x80, 0x1002db550\nMOV             X0, X19                                                ; +0x84, 0x1002db554\nMOV             W1, #2                                                 ; +0x88, 0x1002db558\nBLR             X8                                                     ; +0x8c, 0x1002db55c\nLDR             X8, [X19]                                              ; +0x90, 0x1002db560\nLDR             X8, [X8,#0x508]                                        ; +0x94, 0x1002db564\nMOV             X0, X19                                                ; +0x98, 0x1002db568\nBLR             X8                                                     ; +0x9c, 0x1002db56c\nLDP             X29, X30, [SP,#0x30+var_s0]                            ; +0xa0, 0x1002db570\nLDP             X20, X19, [SP,#0x30+var_10]                            ; +0xa4, 0x1002db574\nADD             SP, SP, #0x40 ; '@'                                    ; +0xa8, 0x1002db578\nRET                                                                    ; +0xac, 0x1002db57c", "xrefs": ["GJMessagePopup::loadFromGJMessage @ 0x1002db004"], "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"}