{"type": "func", "start": 4295479720, "end": 4295479864, "name": "CreateGuidelinesLayer::onClearGuidelines", "pseudocode": "// \n// CreateGuidelinesLayer::onClearGuidelines from 0x10007d1a8 to 0x10007d238 (144 bytes)\n// \n// 1 xrefs:\n// > CreateGuidelinesLayer::init @ 0x10007c910\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 CreateGuidelinesLayer::onClearGuidelines(CreateGuidelinesLayer *a1, cocos2d::CCObject *a2)\n{\n  __int64 v3; // x19\n  void *__p[2]; // [xsp+8h] [xbp-28h] BYREF\n  char v5; // [xsp+1Fh] [xbp-11h]\n\n  sub_100009900(__p, \"<cr>Delete</c> the current <cl>guidelines</c>?\");\n  v3 = sub_1002ABCCC(&a1->FLAlertLayerProtocol, \"Clear Guidelines\", __p, \"No\", \"Yes\");\n  if ( v5 < 0 )\n    operator delete(__p[0]);\n  (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v3 + 72LL))(v3, 1);\n  (*(void (__fastcall **)(__int64))(*(_QWORD *)v3 + 1288LL))(v3);\n}", "assembly": "; \n; CreateGuidelinesLayer::onClearGuidelines from 0x10007d1a8 to 0x10007d238 (144 bytes)\n; \n; 1 xrefs:\n; > CreateGuidelinesLayer::init @ 0x10007c910\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, 0x10007d1a8\nSTP             X20, X19, [SP,#0x30+var_10]                            ; +0x4, 0x10007d1ac\nSTP             X29, X30, [SP,#0x30+var_s0]                            ; +0x8, 0x10007d1b0\nADD             X29, SP, #0x30                                         ; +0xc, 0x10007d1b4\nMOV             X19, X0                                                ; +0x10, 0x10007d1b8\nADRL            X1, aCrDeleteCTheCu; \"<cr>Delete</c> the current <cl>guidelin\"... ; +0x14, 0x10007d1bc\nADD             X0, SP, #0x30+__p; int                                 ; +0x1c, 0x10007d1c4\nBL              sub_100009900                                          ; +0x20, 0x10007d1c8\nADRL            X1, aClearGuideline; \"Clear Guidelines\"                ; +0x24, 0x10007d1cc\nADRL            X3, aNo_0; \"No\"                                        ; +0x2c, 0x10007d1d4\nADRL            X4, aYes_0; \"Yes\"                                      ; +0x34, 0x10007d1dc\nADD             X0, X19, #0x278                                        ; +0x3c, 0x10007d1e4\nADD             X2, SP, #0x30+__p                                      ; +0x40, 0x10007d1e8\nBL              sub_1002ABCCC                                          ; +0x44, 0x10007d1ec\nMOV             X19, X0                                                ; +0x48, 0x10007d1f0\nLDRSB           W8, [SP,#0x30+var_11]                                  ; +0x4c, 0x10007d1f4\nTBZ             W8, #0x1F, loc_10007D204                               ; +0x50, 0x10007d1f8\nLDR             X0, [SP,#0x30+__p]; __p                                ; +0x54, 0x10007d1fc\nBL              __ZdlPv; operator delete(void *)                       ; +0x58, 0x10007d200\nLDR             X8, [X19]                                              ; +0x5c, 0x10007d204\nLDR             X8, [X8,#0x48]                                         ; +0x60, 0x10007d208\nMOV             X0, X19                                                ; +0x64, 0x10007d20c\nMOV             W1, #1                                                 ; +0x68, 0x10007d210\nBLR             X8                                                     ; +0x6c, 0x10007d214\nLDR             X8, [X19]                                              ; +0x70, 0x10007d218\nLDR             X8, [X8,#0x508]                                        ; +0x74, 0x10007d21c\nMOV             X0, X19                                                ; +0x78, 0x10007d220\nBLR             X8                                                     ; +0x7c, 0x10007d224\nLDP             X29, X30, [SP,#0x30+var_s0]                            ; +0x80, 0x10007d228\nLDP             X20, X19, [SP,#0x30+var_10]                            ; +0x84, 0x10007d22c\nADD             SP, SP, #0x40 ; '@'                                    ; +0x88, 0x10007d230\nRET                                                                    ; +0x8c, 0x10007d234", "xrefs": ["CreateGuidelinesLayer::init @ 0x10007c910"], "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"}