{"type": "func", "start": 4297968996, "end": 4297969176, "name": "GJWriteMessagePopup::onClearBody", "pseudocode": "// \n// GJWriteMessagePopup::onClearBody from 0x1002dcd64 to 0x1002dce18 (180 bytes)\n// \n// 1 xrefs:\n// > GJWriteMessagePopup::init @ 0x1002dc6f8\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 GJWriteMessagePopup::onClearBody(GJWriteMessagePopup *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 reset this message?\");\n  v3 = FLAlertLayer::create(\n         (__int64)&a1->FLAlertLayerProtocol,\n         (__int64)\"Reset Message\",\n         (__int64)__p,\n         (__int64)\"Cancel\",\n         (__int64)\"Reset\",\n         0,\n         380.0);\n  if ( v5 < 0 )\n    operator delete(__p[0]);\n  ButtonSprite::updateBGImage(v3->m_button2, \"GJ_button_05.png\");\n  ((void (__fastcall *)(FLAlertLayer *, __int64))v3->setTag)(v3, 1);\n  ((void (__fastcall *)(FLAlertLayer *))v3->show)(v3);\n}", "assembly": "; \n; GJWriteMessagePopup::onClearBody from 0x1002dcd64 to 0x1002dce18 (180 bytes)\n; \n; 1 xrefs:\n; > GJWriteMessagePopup::init @ 0x1002dc6f8\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, 0x1002dcd64\nSTP             X20, X19, [SP,#0x30+var_10]                            ; +0x4, 0x1002dcd68\nSTP             X29, X30, [SP,#0x30+var_s0]                            ; +0x8, 0x1002dcd6c\nADD             X29, SP, #0x30                                         ; +0xc, 0x1002dcd70\nMOV             X19, X0                                                ; +0x10, 0x1002dcd74\nADRL            X1, aAreYouSureYouW_18; \"Are you sure you want to reset this mes\"... ; +0x14, 0x1002dcd78\nADD             X0, SP, #0x30+__p; int                                 ; +0x1c, 0x1002dcd80\nBL              sub_100009900                                          ; +0x20, 0x1002dcd84\nADRL            X1, aResetMessage; \"Reset Message\"                     ; +0x24, 0x1002dcd88\nMOV             W8, #0x43BE0000                                        ; +0x2c, 0x1002dcd90\nADRL            X3, aCancel; \"Cancel\"                                  ; +0x30, 0x1002dcd94\nFMOV            S0, W8                                                 ; +0x38, 0x1002dcd9c\nADD             X0, X19, #0x290                                        ; +0x3c, 0x1002dcda0\nADD             X2, SP, #0x30+__p                                      ; +0x40, 0x1002dcda4\nFMOV            S1, WZR                                                ; +0x44, 0x1002dcda8\nADRL            X4, aReset_0; \"Reset\"                                  ; +0x48, 0x1002dcdac\nFMOV            S2, #1.0                                               ; +0x50, 0x1002dcdb4\nMOV             W5, #0                                                 ; +0x54, 0x1002dcdb8\nBL              FLAlertLayer__create                                   ; +0x58, 0x1002dcdbc\nMOV             X19, X0                                                ; +0x5c, 0x1002dcdc0\nLDRSB           W8, [SP,#0x30+var_11]                                  ; +0x60, 0x1002dcdc4\nTBZ             W8, #0x1F, loc_1002DCDD4                               ; +0x64, 0x1002dcdc8\nLDR             X0, [SP,#0x30+__p]; __p                                ; +0x68, 0x1002dcdcc\nBL              __ZdlPv; operator delete(void *)                       ; +0x6c, 0x1002dcdd0\nLDR             X0, [X19,#0x258]                                       ; +0x70, 0x1002dcdd4\nADRL            X1, aGjButton05Png; \"GJ_button_05.png\"                 ; +0x74, 0x1002dcdd8\nBL              ButtonSprite__updateBGImage                            ; +0x7c, 0x1002dcde0\nLDR             X8, [X19]                                              ; +0x80, 0x1002dcde4\nLDR             X8, [X8,#0x48]                                         ; +0x84, 0x1002dcde8\nMOV             X0, X19                                                ; +0x88, 0x1002dcdec\nMOV             W1, #1                                                 ; +0x8c, 0x1002dcdf0\nBLR             X8                                                     ; +0x90, 0x1002dcdf4\nLDR             X8, [X19]                                              ; +0x94, 0x1002dcdf8\nLDR             X8, [X8,#0x508]                                        ; +0x98, 0x1002dcdfc\nMOV             X0, X19                                                ; +0x9c, 0x1002dce00\nBLR             X8                                                     ; +0xa0, 0x1002dce04\nLDP             X29, X30, [SP,#0x30+var_s0]                            ; +0xa4, 0x1002dce08\nLDP             X20, X19, [SP,#0x30+var_10]                            ; +0xa8, 0x1002dce0c\nADD             SP, SP, #0x40 ; '@'                                    ; +0xac, 0x1002dce10\nRET                                                                    ; +0xb0, 0x1002dce14", "xrefs": ["GJWriteMessagePopup::init @ 0x1002dc6f8"], "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"}