{"type": "func", "start": 4295480156, "end": 4295480308, "name": "CreateGuidelinesLayer::doClearGuidelines", "pseudocode": "// \n// CreateGuidelinesLayer::doClearGuidelines from 0x10007d35c to 0x10007d3f4 (152 bytes)\n// \n// 2 xrefs:\n// > CreateGuidelinesLayer::FLAlert_Clicked @ 0x10007dd4c\n// > sub_10007DD50 @ 0x10007dd98\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::doClearGuidelines(CreateGuidelinesLayer *a1)\n{\n  CustomSongDelegate *m_delegate; // x0\n  __int64 v3; // x20\n  std::string __str; // [xsp+8h] [xbp-28h] BYREF\n\n  ((void (__fastcall *)(cocos2d::CCLabelBMFont *, const char *))a1->m_infoLabel->setString)(\n    a1->m_infoLabel,\n    \"Guidelines cleared\");\n  m_delegate = a1->m_delegate;\n  if ( m_delegate )\n  {\n    v3 = ((__int64 (__fastcall *)(CustomSongDelegate *))m_delegate->getLevelSettings)(m_delegate);\n    sub_100009900(&__str, \"\");\n    std::string::operator=((std::string *)(v3 + 392), &__str);\n    if ( SHIBYTE(__str.__r_.__value_.__r.__words[2]) < 0 )\n      operator delete(__str.__r_.__value_.__l.__data_);\n    *(_BYTE *)(((__int64 (__fastcall *)(CustomSongDelegate *))a1->m_delegate->getLevelSettings)(a1->m_delegate) + 416) = 1;\n  }\n}", "assembly": "; \n; CreateGuidelinesLayer::doClearGuidelines from 0x10007d35c to 0x10007d3f4 (152 bytes)\n; \n; 2 xrefs:\n; > CreateGuidelinesLayer::FLAlert_Clicked @ 0x10007dd4c\n; > sub_10007DD50 @ 0x10007dd98\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, 0x10007d35c\nSTP             X20, X19, [SP,#0x30+var_10]                            ; +0x4, 0x10007d360\nSTP             X29, X30, [SP,#0x30+var_s0]                            ; +0x8, 0x10007d364\nADD             X29, SP, #0x30                                         ; +0xc, 0x10007d368\nMOV             X19, X0                                                ; +0x10, 0x10007d36c\nLDR             X0, [X0,#0x2A0]                                        ; +0x14, 0x10007d370\nLDR             X8, [X0]                                               ; +0x18, 0x10007d374\nLDR             X8, [X8,#0x390]                                        ; +0x1c, 0x10007d378\nADRL            X1, aGuidelinesClea; \"Guidelines cleared\"              ; +0x20, 0x10007d37c\nBLR             X8                                                     ; +0x28, 0x10007d384\nLDR             X0, [X19,#0x280]                                       ; +0x2c, 0x10007d388\nCBZ             X0, loc_10007D3E4                                      ; +0x30, 0x10007d38c\nLDR             X8, [X0]                                               ; +0x34, 0x10007d390\nLDR             X8, [X8,#0x18]                                         ; +0x38, 0x10007d394\nBLR             X8                                                     ; +0x3c, 0x10007d398\nMOV             X20, X0                                                ; +0x40, 0x10007d39c\nADRL            X1, asc_100746688; \"\"                                  ; +0x44, 0x10007d3a0\nADD             X0, SP, #0x30+__str; int                               ; +0x4c, 0x10007d3a8\nBL              sub_100009900                                          ; +0x50, 0x10007d3ac\nADD             X0, X20, #0x188; this                                  ; +0x54, 0x10007d3b0\nADD             X1, SP, #0x30+__str; __str                             ; +0x58, 0x10007d3b4\nBL              __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEaSERKS5_; std::string::operator=(std::string const&) ; +0x5c, 0x10007d3b8\nLDRSB           W8, [SP,#0x30+__str.__r_.__value_+0x17]                ; +0x60, 0x10007d3bc\nTBZ             W8, #0x1F, loc_10007D3CC                               ; +0x64, 0x10007d3c0\nLDR             X0, [SP,#0x30+__str]; __p                              ; +0x68, 0x10007d3c4\nBL              __ZdlPv; operator delete(void *)                       ; +0x6c, 0x10007d3c8\nLDR             X0, [X19,#0x280]                                       ; +0x70, 0x10007d3cc\nLDR             X8, [X0]                                               ; +0x74, 0x10007d3d0\nLDR             X8, [X8,#0x18]                                         ; +0x78, 0x10007d3d4\nBLR             X8                                                     ; +0x7c, 0x10007d3d8\nMOV             W8, #1                                                 ; +0x80, 0x10007d3dc\nSTRB            W8, [X0,#0x1A0]                                        ; +0x84, 0x10007d3e0\nLDP             X29, X30, [SP,#0x30+var_s0]                            ; +0x88, 0x10007d3e4\nLDP             X20, X19, [SP,#0x30+var_10]                            ; +0x8c, 0x10007d3e8\nADD             SP, SP, #0x40 ; '@'                                    ; +0x90, 0x10007d3ec\nRET                                                                    ; +0x94, 0x10007d3f0", "xrefs": ["CreateGuidelinesLayer::FLAlert_Clicked @ 0x10007dd4c", "sub_10007DD50 @ 0x10007dd98"], "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"}