{"type": "func", "start": 7912340, "end": 7912456, "name": "EditorSoundsSettingsPopup::onClearAll", "pseudocode": "// \n// EditorSoundsSettingsPopup::onClearAll from 0x78bb94 to 0x78bc08 (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:59:37 +0000\n// \n\nint __fastcall EditorSoundsSettingsPopup::onClearAll(EditorSoundsSettingsPopup *this, cocos2d::CCObject *a2)\n{\n  int *v3; // r6\n  int v5[3]; // [sp+8h] [bp-10h] BYREF\n\n  *((_BYTE *)this + 528) = 1;\n  memset(v5, 0, sizeof(v5));\n  std::string::__init(v5, \"Remove ALL editor sound effect bindings? This cannot be undone.\", 0x3Fu);\n  v3 = FLAlertLayer::create(\n         (int)this + 520,\n         (cocos2d::CCLabelBMFont *)\"Clear All\",\n         (int)v5,\n         (ButtonSprite *)\"Cancel\",\n         (ButtonSprite *)\"Clear\",\n         320.0);\n  std::string::~string((int)v5);\n  return (*(int (__fastcall **)(int *))(*v3 + 656))(v3);\n}", "assembly": "; \n; EditorSoundsSettingsPopup::onClearAll from 0x78bb94 to 0x78bc08 (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:59:37 +0000\n; \nPUSH            {R4-R6,LR}                                             ; +0x0, 0x78bb94\nSUB             SP, SP, #0x18                                          ; +0x2, 0x78bb96\nLDR             R4, =(__stack_chk_guard_ptr - 0x78BBA4)                ; +0x4, 0x78bb98\nADD             R5, SP, #0x18+var_10                                   ; +0x6, 0x78bb9a\nLDR             R1, =(aRemoveAllEdito - 0x78BBAA); \"Remove ALL editor sound effect bindings\"... ; +0x8, 0x78bb9c\nMOV             R6, R0                                                 ; +0xa, 0x78bb9e\nADD             R4, PC; __stack_chk_guard_ptr                          ; +0xc, 0x78bba0\nLDR             R4, [R4]; __stack_chk_guard                            ; +0xe, 0x78bba2\nMOVS            R2, #0x3F ; '?'                                        ; +0x10, 0x78bba4\nADD             R1, PC; \"Remove ALL editor sound effect bindings\"...   ; +0x12, 0x78bba6\nLDR             R3, [R4]                                               ; +0x14, 0x78bba8\nSTR             R3, [SP,#0x18+var_4]                                   ; +0x16, 0x78bbaa\nMOVS            R3, #1                                                 ; +0x18, 0x78bbac\nSTRB.W          R3, [R0,#0x210]                                        ; +0x1a, 0x78bbae\nMOV             R0, R5                                                 ; +0x1e, 0x78bbb2\nMOVS            R3, #0                                                 ; +0x20, 0x78bbb4\nSTR             R3, [SP,#0x18+var_10]                                  ; +0x22, 0x78bbb6\nSTR             R3, [SP,#0x18+var_C]                                   ; +0x24, 0x78bbb8\nSTR             R3, [SP,#0x18+var_8]                                   ; +0x26, 0x78bbba\nBL              _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEPKcj; std::string::__init(char const*,uint) ; +0x28, 0x78bbbc\nLDR             R3, =(aClear - 0x78BBCE); \"Clear\"                      ; +0x2c, 0x78bbc0\nADD.W           R0, R6, #0x208; int                                    ; +0x2e, 0x78bbc2\nLDR             R1, =(aClearAll - 0x78BBD4); \"Clear All\"               ; +0x32, 0x78bbc6\nMOV             R2, R5; int                                            ; +0x34, 0x78bbc8\nADD             R3, PC; \"Clear\"                                        ; +0x36, 0x78bbca\nSTR             R3, [SP,#0x18+var_18]; int                             ; +0x38, 0x78bbcc\nLDR             R3, flt_78BC08                                         ; +0x3a, 0x78bbce\nADD             R1, PC; \"Clear All\"                                    ; +0x3c, 0x78bbd0\nSTR             R3, [SP,#0x18+var_14]; float                           ; +0x3e, 0x78bbd2\nLDR             R3, =(aCancel - 0x78BBDA); \"Cancel\"                    ; +0x40, 0x78bbd4\nADD             R3, PC; \"Cancel\"                                       ; +0x42, 0x78bbd6\nBL              _ZN12FLAlertLayer6createEP20FLAlertLayerProtocolPKcNSt6__ndk112basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEES3_S3_f; FLAlertLayer::create(FLAlertLayerProtocol *,char const*,std::string,char const*,char const*,float) ; +0x44, 0x78bbd8\nMOV             R6, R0                                                 ; +0x48, 0x78bbdc\nMOV             R0, R5                                                 ; +0x4a, 0x78bbde\nBL              _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0x4c, 0x78bbe0\nLDR             R3, [R6]                                               ; +0x50, 0x78bbe4\nMOV             R0, R6                                                 ; +0x52, 0x78bbe6\nLDR.W           R3, [R3,#0x290]                                        ; +0x54, 0x78bbe8\nBLX             R3                                                     ; +0x58, 0x78bbec\nLDR             R2, [SP,#0x18+var_4]                                   ; +0x5a, 0x78bbee\nLDR             R3, [R4]                                               ; +0x5c, 0x78bbf0\nCMP             R2, R3                                                 ; +0x5e, 0x78bbf2\nBEQ             loc_78BC04                                             ; +0x60, 0x78bbf4\nBLX             __stack_chk_fail                                       ; +0x62, 0x78bbf6\nMOV             R0, R5                                                 ; +0x66, 0x78bbfa\nBL              _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0x68, 0x78bbfc\nBL              __cxa_end_cleanup                                      ; +0x6c, 0x78bc00\nADD             SP, SP, #0x18                                          ; +0x70, 0x78bc04\nPOP             {R4-R6,PC}                                             ; +0x72, 0x78bc06", "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"}