{"type": "func", "start": 6179346, "end": 6179408, "name": "ConfigureHSVWidget::onClose", "pseudocode": "// \n// ConfigureHSVWidget::onClose from 0x5e4a12 to 0x5e4a50 (62 bytes)\n// \n// 1 xrefs:\n// > HSVWidgetPopup::onClose @ 0x5e4a5a\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:54:18 +0000\n// \n\nint __fastcall ConfigureHSVWidget::onClose(int this)\n{\n  int v1; // r3\n  int v2; // r3\n  int v3; // r4\n  _DWORD *v4; // r5\n  int v5; // r2\n\n  v1 = *(_DWORD *)(this + 320);\n  if ( v1 )\n  {\n    v2 = *(_DWORD *)(v1 + 52);\n    if ( v2 )\n      v3 = *(_DWORD *)(v2 + 272);\n    else\n      v3 = 0;\n    while ( v2 )\n    {\n      v4 = *(_DWORD **)(v2 + 260);\n      this = (*(int (__fastcall **)(_DWORD *, _DWORD))(*v4 + 580))(v4, 0);\n      v4[105] = 0;\n      if ( v3 )\n        v5 = *(_DWORD *)(v3 + 272);\n      else\n        v5 = 0;\n      v2 = v3;\n      v3 = v5;\n    }\n  }\n  return this;\n}", "assembly": "; \n; ConfigureHSVWidget::onClose from 0x5e4a12 to 0x5e4a50 (62 bytes)\n; \n; 1 xrefs:\n; > HSVWidgetPopup::onClose @ 0x5e4a5a\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:54:18 +0000\n; \nPUSH            {R4-R6,LR}                                             ; +0x0, 0x5e4a12\nLDR.W           R3, [R0,#0x140]                                        ; +0x2, 0x5e4a14\nCBZ             R3, locret_5E4A4E                                      ; +0x6, 0x5e4a18\nLDR             R3, [R3,#0x34]                                         ; +0x8, 0x5e4a1a\nCBZ             R3, loc_5E4A24                                         ; +0xa, 0x5e4a1c\nLDR.W           R4, [R3,#0x110]                                        ; +0xc, 0x5e4a1e\nB               loc_5E4A26                                             ; +0x10, 0x5e4a22\nMOV             R4, R3                                                 ; +0x12, 0x5e4a24\nMOVS            R6, #0                                                 ; +0x14, 0x5e4a26\nCBZ             R3, locret_5E4A4E                                      ; +0x16, 0x5e4a28\nLDR.W           R5, [R3,#0x104]                                        ; +0x18, 0x5e4a2a\nMOVS            R1, #0                                                 ; +0x1c, 0x5e4a2e\nLDR             R3, [R5]                                               ; +0x1e, 0x5e4a30\nMOV             R0, R5                                                 ; +0x20, 0x5e4a32\nLDR.W           R3, [R3,#0x244]                                        ; +0x22, 0x5e4a34\nBLX             R3                                                     ; +0x26, 0x5e4a38\nSTR.W           R6, [R5,#0x1A4]                                        ; +0x28, 0x5e4a3a\nCBZ             R4, loc_5E4A46                                         ; +0x2c, 0x5e4a3e\nLDR.W           R2, [R4,#0x110]                                        ; +0x2e, 0x5e4a40\nB               loc_5E4A48                                             ; +0x32, 0x5e4a44\nMOV             R2, R4                                                 ; +0x34, 0x5e4a46\nMOV             R3, R4                                                 ; +0x36, 0x5e4a48\nMOV             R4, R2                                                 ; +0x38, 0x5e4a4a\nB               loc_5E4A28                                             ; +0x3a, 0x5e4a4c\nPOP             {R4-R6,PC}                                             ; +0x3c, 0x5e4a4e", "xrefs": ["HSVWidgetPopup::onClose @ 0x5e4a5a"], "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"}