{"type": "func", "start": 7892232, "end": 7892348, "name": "EditorSoundConfigInfoLayer::onDescription", "pseudocode": "// \n// EditorSoundConfigInfoLayer::onDescription from 0x786d08 to 0x786d7c (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:33 +0000\n// \n\nint __fastcall EditorSoundConfigInfoLayer::onDescription(int this, cocos2d::CCObject *a2)\n{\n  int v2; // r7\n  SetupTriggerPopup *v3; // r0\n  unsigned __int8 v4[12]; // [sp+4h] [bp-20h] BYREF\n  int v5[3]; // [sp+10h] [bp-14h] BYREF\n\n  v2 = this;\n  if ( *(_DWORD *)(this + 748) )\n  {\n    GJEditorSoundConfig::getUnpackedSoundDesc((GJEditorSoundConfig *)v4);\n    std::string::basic_string(v5, *(_DWORD *)(v2 + 748) + 348);\n    v3 = SoundPackDescPopup::create(v4, (unsigned __int8 *)v5, v2 + 732);\n    (*(void (__fastcall **)(SetupTriggerPopup *))(*(_DWORD *)v3 + 656))(v3);\n    std::string::~string((int)v5);\n    return std::string::~string((int)v4);\n  }\n  return this;\n}", "assembly": "; \n; EditorSoundConfigInfoLayer::onDescription from 0x786d08 to 0x786d7c (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:33 +0000\n; \nLDR             R3, =(__stack_chk_guard_ptr - 0x786D10)                ; +0x0, 0x786d08\nPUSH            {R4-R7,LR}                                             ; +0x2, 0x786d0a\nADD             R3, PC; __stack_chk_guard_ptr                          ; +0x4, 0x786d0c\nLDR             R3, [R3]; __stack_chk_guard                            ; +0x6, 0x786d0e\nLDR.W           R1, [R0,#0x2EC]                                        ; +0x8, 0x786d10\nSUB             SP, SP, #0x24                                          ; +0xc, 0x786d14\nLDR             R2, [R3]                                               ; +0xe, 0x786d16\nMOV             R7, R0                                                 ; +0x10, 0x786d18\nMOV             R6, R3                                                 ; +0x12, 0x786d1a\nSTR             R2, [SP,#0x24+var_8]                                   ; +0x14, 0x786d1c\nCBZ             R1, loc_786D6C                                         ; +0x16, 0x786d1e\nADD             R4, SP, #0x24+var_20                                   ; +0x18, 0x786d20\nADD             R5, SP, #0x24+var_14                                   ; +0x1a, 0x786d22\nMOV             R0, R4; this                                           ; +0x1c, 0x786d24\nBL              _ZNK19GJEditorSoundConfig20getUnpackedSoundDescEv; GJEditorSoundConfig::getUnpackedSoundDesc(void) ; +0x1e, 0x786d26\nLDR.W           R1, [R7,#0x2EC]                                        ; +0x22, 0x786d2a\nMOV             R0, R5                                                 ; +0x26, 0x786d2e\nADD.W           R1, R1, #0x15C                                         ; +0x28, 0x786d30\nBL              _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEC2ERKS5_; std::string::basic_string(std::string const&) ; +0x2c, 0x786d34\nMOV             R0, R4                                                 ; +0x30, 0x786d38\nMOV             R1, R5                                                 ; +0x32, 0x786d3a\nADD.W           R2, R7, #0x2DC                                         ; +0x34, 0x786d3c\nBL              _ZN18SoundPackDescPopup6createERKNSt6__ndk112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEES8_P21SoundPackDescDelegate; SoundPackDescPopup::create(std::string const&,std::string const&,SoundPackDescDelegate *) ; +0x38, 0x786d40\nLDR             R3, [R0]                                               ; +0x3c, 0x786d44\nLDR.W           R3, [R3,#0x290]                                        ; +0x3e, 0x786d46\nBLX             R3                                                     ; +0x42, 0x786d4a\nMOV             R0, R5                                                 ; +0x44, 0x786d4c\nBL              _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0x46, 0x786d4e\nMOV             R0, R4                                                 ; +0x4a, 0x786d52\nBL              _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0x4c, 0x786d54\nB               loc_786D6C                                             ; +0x50, 0x786d58\nMOV             R0, R5                                                 ; +0x52, 0x786d5a\nBL              _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0x54, 0x786d5c\nB               loc_786D62                                             ; +0x58, 0x786d60\nMOV             R0, R4                                                 ; +0x5a, 0x786d62\nBL              _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0x5c, 0x786d64\nBL              __cxa_end_cleanup                                      ; +0x60, 0x786d68\nLDR             R2, [SP,#0x24+var_8]                                   ; +0x64, 0x786d6c\nLDR             R3, [R6]                                               ; +0x66, 0x786d6e\nCMP             R2, R3                                                 ; +0x68, 0x786d70\nBEQ             loc_786D78                                             ; +0x6a, 0x786d72\nBLX             __stack_chk_fail                                       ; +0x6c, 0x786d74\nADD             SP, SP, #0x24 ; '$'                                    ; +0x70, 0x786d78\nPOP             {R4-R7,PC}                                             ; +0x72, 0x786d7a", "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"}