{"type": "func", "start": 4300006072, "end": 4300006152, "name": "EditorSoundBrowserLayer::onConfigViewClicked", "pseudocode": "// \n// EditorSoundBrowserLayer::onConfigViewClicked from 0x1004ce2b8 to 0x1004ce308 (80 bytes)\n// \n// 2 xrefs:\n// > sub_1004CE308 @ 0x1004ce30c\n// > <???> @ 0x100988180\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 11:06:27 +0000\n// \n\n_DWORD *__fastcall EditorSoundBrowserLayer::onConfigViewClicked(_DWORD *result, __int64 a2)\n{\n  int v2; // w8\n  __int64 v3; // x8\n\n  if ( a2 )\n  {\n    v2 = result[262];\n    if ( v2 )\n      v3 = 2 * (unsigned int)(v2 == 1);\n    else\n      v3 = 1;\n    result = (_DWORD *)sub_1004CF934(a2, v3, result);\n    if ( result )\n      return (_DWORD *)(*(__int64 (__fastcall **)(_DWORD *))(*(_QWORD *)result + 1312LL))(result);\n  }\n  return result;\n}", "assembly": "; \n; EditorSoundBrowserLayer::onConfigViewClicked from 0x1004ce2b8 to 0x1004ce308 (80 bytes)\n; \n; 2 xrefs:\n; > sub_1004CE308 @ 0x1004ce30c\n; > <???> @ 0x100988180\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 11:06:27 +0000\n; \nSTP             X29, X30, [SP,#-0x10+var_s0]!                          ; +0x0, 0x1004ce2b8\nMOV             X29, SP                                                ; +0x4, 0x1004ce2bc\nCBZ             X1, loc_1004CE300                                      ; +0x8, 0x1004ce2c0\nMOV             X2, X0                                                 ; +0xc, 0x1004ce2c4\nLDR             W8, [X0,#0x418]                                        ; +0x10, 0x1004ce2c8\nCMP             W8, #1                                                 ; +0x14, 0x1004ce2cc\nCSET            W9, EQ                                                 ; +0x18, 0x1004ce2d0\nLSL             W9, W9, #1                                             ; +0x1c, 0x1004ce2d4\nCMP             W8, #0                                                 ; +0x20, 0x1004ce2d8\nCSINC           W8, W9, WZR, NE                                        ; +0x24, 0x1004ce2dc\nMOV             X0, X1                                                 ; +0x28, 0x1004ce2e0\nMOV             X1, X8                                                 ; +0x2c, 0x1004ce2e4\nBL              sub_1004CF934                                          ; +0x30, 0x1004ce2e8\nCBZ             X0, loc_1004CE300                                      ; +0x34, 0x1004ce2ec\nLDR             X8, [X0]                                               ; +0x38, 0x1004ce2f0\nLDR             X1, [X8,#0x520]                                        ; +0x3c, 0x1004ce2f4\nLDP             X29, X30, [SP+var_s0],#0x10                            ; +0x40, 0x1004ce2f8\nBR              X1                                                     ; +0x44, 0x1004ce2fc\nLDP             X29, X30, [SP+var_s0],#0x10                            ; +0x48, 0x1004ce300\nRET                                                                    ; +0x4c, 0x1004ce304", "xrefs": ["sub_1004CE308 @ 0x1004ce30c", "<???> @ 0x100988180"], "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"}