{"type": "func", "start": 4161260, "end": 4161376, "name": "CreateGuidelinesLayer::onClearGuidelines", "pseudocode": "// \n// CreateGuidelinesLayer::onClearGuidelines from 0x3f7eec to 0x3f7f60 (116 bytes)\n// \n// 0 xrefs:\n// \n// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 11:47:18 +0000\n// \n\nint __fastcall CreateGuidelinesLayer::onClearGuidelines(CreateGuidelinesLayer *this, cocos2d::CCObject *a2)\n{\n  int *v3; // r5\n  int v5[3]; // [sp+8h] [bp-10h] BYREF\n\n  memset(v5, 0, sizeof(v5));\n  std::string::__init(v5, \"<cr>Delete</c> the current <cl>guidelines</c>?\", 0x2Eu);\n  v3 = FLAlertLayer::create(\n         (int)this + 520,\n         (cocos2d::CCLabelBMFont *)\"Clear Guidelines\",\n         (int)v5,\n         (ButtonSprite *)\"No\",\n         (ButtonSprite *)\"Yes\");\n  std::string::~string((int)v5);\n  (*(void (__fastcall **)(int *, int))(*v3 + 36))(v3, 1);\n  return (*(int (__fastcall **)(int *))(*v3 + 656))(v3);\n}", "assembly": "; \n; CreateGuidelinesLayer::onClearGuidelines from 0x3f7eec to 0x3f7f60 (116 bytes)\n; \n; 0 xrefs:\n; \n; This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 11:47:18 +0000\n; \nPUSH            {R4-R6,LR}                                             ; +0x0, 0x3f7eec\nSUB             SP, SP, #0x18                                          ; +0x2, 0x3f7eee\nLDR             R6, =(__stack_chk_guard_ptr - 0x3F7EFC)                ; +0x4, 0x3f7ef0\nADD             R4, SP, #0x18+var_10                                   ; +0x6, 0x3f7ef2\nLDR             R1, =(aCrDeleteCTheCu - 0x3F7F02); \"<cr>Delete</c> the current <cl>guidelin\"... ; +0x8, 0x3f7ef4\nMOV             R5, R0                                                 ; +0xa, 0x3f7ef6\nADD             R6, PC; __stack_chk_guard_ptr                          ; +0xc, 0x3f7ef8\nLDR             R6, [R6]; __stack_chk_guard                            ; +0xe, 0x3f7efa\nMOV             R0, R4                                                 ; +0x10, 0x3f7efc\nADD             R1, PC; \"<cr>Delete</c> the current <cl>guidelin\"...   ; +0x12, 0x3f7efe\nMOVS            R2, #0x2E ; '.'                                        ; +0x14, 0x3f7f00\nLDR             R3, [R6]                                               ; +0x16, 0x3f7f02\nSTR             R3, [SP,#0x18+var_4]                                   ; +0x18, 0x3f7f04\nMOVS            R3, #0                                                 ; +0x1a, 0x3f7f06\nSTR             R3, [SP,#0x18+var_10]                                  ; +0x1c, 0x3f7f08\nSTR             R3, [SP,#0x18+var_C]                                   ; +0x1e, 0x3f7f0a\nSTR             R3, [SP,#0x18+var_8]                                   ; +0x20, 0x3f7f0c\nBL              _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEPKcj; std::string::__init(char const*,uint) ; +0x22, 0x3f7f0e\nLDR             R3, =(aYes - 0x3F7F20); \"Yes\"                          ; +0x26, 0x3f7f12\nADD.W           R0, R5, #0x208                                         ; +0x28, 0x3f7f14\nLDR             R1, =(aClearGuideline - 0x3F7F26); \"Clear Guidelines\"  ; +0x2c, 0x3f7f18\nMOV             R2, R4                                                 ; +0x2e, 0x3f7f1a\nADD             R3, PC; \"Yes\"                                          ; +0x30, 0x3f7f1c\nSTR             R3, [SP,#0x18+var_18]                                  ; +0x32, 0x3f7f1e\nLDR             R3, =(aNo - 0x3F7F28); \"No\"                            ; +0x34, 0x3f7f20\nADD             R1, PC; \"Clear Guidelines\"                             ; +0x36, 0x3f7f22\nADD             R3, PC; \"No\"                                           ; +0x38, 0x3f7f24\nBL              _ZN12FLAlertLayer6createEP20FLAlertLayerProtocolPKcNSt6__ndk112basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEES3_S3_; FLAlertLayer::create(FLAlertLayerProtocol *,char const*,std::string,char const*,char const*) ; +0x3a, 0x3f7f26\nMOV             R5, R0                                                 ; +0x3e, 0x3f7f2a\nMOV             R0, R4                                                 ; +0x40, 0x3f7f2c\nBL              _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0x42, 0x3f7f2e\nLDR             R3, [R5]                                               ; +0x46, 0x3f7f32\nMOV             R0, R5                                                 ; +0x48, 0x3f7f34\nMOVS            R1, #1                                                 ; +0x4a, 0x3f7f36\nLDR             R3, [R3,#0x24]                                         ; +0x4c, 0x3f7f38\nBLX             R3                                                     ; +0x4e, 0x3f7f3a\nLDR             R3, [R5]                                               ; +0x50, 0x3f7f3c\nMOV             R0, R5                                                 ; +0x52, 0x3f7f3e\nLDR.W           R3, [R3,#0x290]                                        ; +0x54, 0x3f7f40\nBLX             R3                                                     ; +0x58, 0x3f7f44\nLDR             R2, [SP,#0x18+var_4]                                   ; +0x5a, 0x3f7f46\nLDR             R3, [R6]                                               ; +0x5c, 0x3f7f48\nCMP             R2, R3                                                 ; +0x5e, 0x3f7f4a\nBEQ             loc_3F7F5C                                             ; +0x60, 0x3f7f4c\nBLX             __stack_chk_fail                                       ; +0x62, 0x3f7f4e\nMOV             R0, R4                                                 ; +0x66, 0x3f7f52\nBL              _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0x68, 0x3f7f54\nBL              __cxa_end_cleanup                                      ; +0x6c, 0x3f7f58\nADD             SP, SP, #0x18                                          ; +0x70, 0x3f7f5c\nPOP             {R4-R6,PC}                                             ; +0x72, 0x3f7f5e", "xrefs": [], "is_objc": false, "is_32_bit": true, "is_64_bit": false, "idp_name": "arm", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}