{"type": "func", "start": 7871400, "end": 7871448, "name": "EditorSoundBrowserLayer::onConfigViewClicked", "pseudocode": "// \n// EditorSoundBrowserLayer::onConfigViewClicked from 0x781ba8 to 0x781bd8 (48 bytes)\n// \n// 1 xrefs:\n// > `non-virtual thunk to'EditorSoundBrowserLayer::onConfigViewClicked @ 0x781bdc\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:29 +0000\n// \n\n_DWORD *__fastcall EditorSoundBrowserLayer::onConfigViewClicked(_DWORD *this, GJEditorSoundConfig *a2)\n{\n  int v2; // r3\n  int v3; // r3\n\n  if ( a2 )\n  {\n    v2 = *(this + 182);\n    if ( v2 )\n    {\n      if ( v2 == 1 )\n        v3 = 2;\n      else\n        v3 = 0;\n    }\n    else\n    {\n      v3 = 1;\n    }\n    this = (_DWORD *)EditorSoundConfigInfoLayer::create(a2, v3, this);\n    if ( this )\n      return (_DWORD *)(*(int (__fastcall **)(_DWORD *))(*this + 656))(this);\n  }\n  return this;\n}", "assembly": "; \n; EditorSoundBrowserLayer::onConfigViewClicked from 0x781ba8 to 0x781bd8 (48 bytes)\n; \n; 1 xrefs:\n; > `non-virtual thunk to'EditorSoundBrowserLayer::onConfigViewClicked @ 0x781bdc\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:29 +0000\n; \nPUSH            {R4,LR}                                                ; +0x0, 0x781ba8\nMOV             R2, R0                                                 ; +0x2, 0x781baa\nCBZ             R1, locret_781BD6                                      ; +0x4, 0x781bac\nLDR.W           R3, [R0,#0x2D8]                                        ; +0x6, 0x781bae\nCBZ             R3, loc_781BBE                                         ; +0xa, 0x781bb2\nCMP             R3, #1                                                 ; +0xc, 0x781bb4\nITE NE                                                                 ; +0xe, 0x781bb6\nMOVNE           R3, #0                                                 ; +0x10, 0x781bb8\nMOVEQ           R3, #2                                                 ; +0x12, 0x781bba\nB               loc_781BC0                                             ; +0x14, 0x781bbc\nMOVS            R3, #1                                                 ; +0x16, 0x781bbe\nMOV             R0, R1                                                 ; +0x18, 0x781bc0\nMOV             R1, R3                                                 ; +0x1a, 0x781bc2\nBL              _ZN26EditorSoundConfigInfoLayer6createEP19GJEditorSoundConfig19EditorSoundInfoKindP23EditorSoundBrowserLayer; EditorSoundConfigInfoLayer::create(GJEditorSoundConfig *,EditorSoundInfoKind,EditorSoundBrowserLayer *) ; +0x1c, 0x781bc4\nCBZ             R0, locret_781BD6                                      ; +0x20, 0x781bc8\nLDR             R3, [R0]                                               ; +0x22, 0x781bca\nPOP.W           {R4,LR}                                                ; +0x24, 0x781bcc\nLDR.W           R3, [R3,#0x290]                                        ; +0x28, 0x781bd0\nBX              R3                                                     ; +0x2c, 0x781bd4\nPOP             {R4,PC}                                                ; +0x2e, 0x781bd6", "xrefs": ["`non-virtual thunk to'EditorSoundBrowserLayer::onConfigViewClicked @ 0x781bdc"], "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"}