{"type": "func", "start": 13403484, "end": 13403564, "name": "EditorSoundBrowserLayer::onConfigViewClicked", "pseudocode": "// \n// EditorSoundBrowserLayer::onConfigViewClicked from 0xcc855c to 0xcc85ac (80 bytes)\n// \n// 3 xrefs:\n// > `non-virtual thunk to'EditorSoundBrowserLayer::onConfigViewClicked @ 0xcc85b0\n// > <???> @ 0xb0da0\n// > <???> @ 0x14fde48\n// \n// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\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 13:06:22 +0000\n// \n\n_DWORD *__fastcall EditorSoundBrowserLayer::onConfigViewClicked(_DWORD *this, GJEditorSoundConfig *a2)\n{\n  int v2; // w2\n  unsigned int v3; // w3\n\n  if ( a2 )\n  {\n    v2 = *(this + 262);\n    v3 = 1;\n    if ( v2 )\n    {\n      if ( v2 == 1 )\n        v3 = 2;\n      else\n        v3 = 0;\n    }\n    this = (_DWORD *)EditorSoundConfigInfoLayer::create(a2, v3, this);\n    if ( this )\n      return (_DWORD *)(*(__int64 (__fastcall **)(_DWORD *))(*(_QWORD *)this + 1312LL))(this);\n  }\n  return this;\n}", "assembly": "; \n; EditorSoundBrowserLayer::onConfigViewClicked from 0xcc855c to 0xcc85ac (80 bytes)\n; \n; 3 xrefs:\n; > `non-virtual thunk to'EditorSoundBrowserLayer::onConfigViewClicked @ 0xcc85b0\n; > <???> @ 0xb0da0\n; > <???> @ 0x14fde48\n; \n; This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\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 13:06:22 +0000\n; \nSTP             X29, X30, [SP,#-0x10+var_s0]!                          ; +0x0, 0xcc855c\nMOV             X29, SP                                                ; +0x4, 0xcc8560\nCBZ             X1, loc_CC8594                                         ; +0x8, 0xcc8564\nLDR             W2, [X0,#0x418]                                        ; +0xc, 0xcc8568\nMOV             W3, #1                                                 ; +0x10, 0xcc856c\nCBNZ            W2, loc_CC859C                                         ; +0x14, 0xcc8570\nMOV             X2, X0                                                 ; +0x18, 0xcc8574\nMOV             X0, X1                                                 ; +0x1c, 0xcc8578\nMOV             W1, W3                                                 ; +0x20, 0xcc857c\nBL              _ZN26EditorSoundConfigInfoLayer6createEP19GJEditorSoundConfig19EditorSoundInfoKindP23EditorSoundBrowserLayer; EditorSoundConfigInfoLayer::create(GJEditorSoundConfig *,EditorSoundInfoKind,EditorSoundBrowserLayer *) ; +0x24, 0xcc8580\nCBZ             X0, loc_CC8594                                         ; +0x28, 0xcc8584\nLDR             X1, [X0]                                               ; +0x2c, 0xcc8588\nLDR             X1, [X1,#0x520]                                        ; +0x30, 0xcc858c\nBLR             X1                                                     ; +0x34, 0xcc8590\nLDP             X29, X30, [SP+var_s0],#0x10                            ; +0x38, 0xcc8594\nRET                                                                    ; +0x3c, 0xcc8598\nCMP             W2, W3                                                 ; +0x40, 0xcc859c\nMOV             W3, #2                                                 ; +0x44, 0xcc85a0\nCSEL            W3, WZR, W3, NE                                        ; +0x48, 0xcc85a4\nB               loc_CC8574                                             ; +0x4c, 0xcc85a8", "xrefs": ["`non-virtual thunk to'EditorSoundBrowserLayer::onConfigViewClicked @ 0xcc85b0", "<???> @ 0xb0da0", "<???> @ 0x14fde48"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "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"}