{"type": "func", "start": 7871456, "end": 7871506, "name": "EditorSoundBrowserLayer::updateFooterButtonVisibility", "pseudocode": "// \n// EditorSoundBrowserLayer::updateFooterButtonVisibility from 0x781be0 to 0x781c12 (50 bytes)\n// \n// 1 xrefs:\n// > EditorSoundBrowserLayer::setMode @ 0x782622\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\nint __fastcall EditorSoundBrowserLayer::updateFooterButtonVisibility(EditorSoundBrowserLayer *this)\n{\n  int v2; // r4\n  int result; // r0\n  _BOOL4 v4; // r4\n\n  v2 = *((_DWORD *)this + 182);\n  result = *((_DWORD *)this + 188);\n  v4 = v2 == 1;\n  if ( result )\n  {\n    (*(void (__fastcall **)(int, _BOOL4))(*(_DWORD *)result + 172))(result, v4);\n    return (*(int (__fastcall **)(_DWORD, _BOOL4))(**((_DWORD **)this + 188) + 528))(*((_DWORD *)this + 188), v4);\n  }\n  return result;\n}", "assembly": "; \n; EditorSoundBrowserLayer::updateFooterButtonVisibility from 0x781be0 to 0x781c12 (50 bytes)\n; \n; 1 xrefs:\n; > EditorSoundBrowserLayer::setMode @ 0x782622\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-R6,LR}                                             ; +0x0, 0x781be0\nMOV             R5, R0                                                 ; +0x2, 0x781be2\nLDR.W           R4, [R0,#0x2D8]                                        ; +0x4, 0x781be4\nLDR.W           R0, [R0,#0x2F0]                                        ; +0x8, 0x781be8\nSUBS            R3, R4, #1                                             ; +0xc, 0x781bec\nNEGS            R4, R3                                                 ; +0xe, 0x781bee\nADCS            R4, R3                                                 ; +0x10, 0x781bf0\nCBZ             R0, locret_781C10                                      ; +0x12, 0x781bf2\nLDR             R3, [R0]                                               ; +0x14, 0x781bf4\nMOV             R1, R4                                                 ; +0x16, 0x781bf6\nLDR.W           R3, [R3,#0xAC]                                         ; +0x18, 0x781bf8\nBLX             R3                                                     ; +0x1c, 0x781bfc\nLDR.W           R0, [R5,#0x2F0]                                        ; +0x1e, 0x781bfe\nMOV             R1, R4                                                 ; +0x22, 0x781c02\nPOP.W           {R4-R6,LR}                                             ; +0x24, 0x781c04\nLDR             R3, [R0]                                               ; +0x28, 0x781c08\nLDR.W           R3, [R3,#0x210]                                        ; +0x2a, 0x781c0a\nBX              R3                                                     ; +0x2e, 0x781c0e\nPOP             {R4-R6,PC}                                             ; +0x30, 0x781c10", "xrefs": ["EditorSoundBrowserLayer::setMode @ 0x782622"], "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"}