{"type": "func", "start": 4942300, "end": 4942362, "name": "ConfigureHSVWidget::onClose", "pseudocode": "// \n// ConfigureHSVWidget::onClose from 0x4b69dc to 0x4b6a1a (62 bytes)\n// \n// 1 xrefs:\n// > HSVWidgetPopup::onClose @ 0x4b6a24\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\nvoid ConfigureHSVWidget::onClose(ConfigureHSVWidget *a1)\n{\n  cocos2d::CCDictionary *m_inputs; // r3\n  cocos2d::CCDictElement *m_pElements; // r3\n  cocos2d::CCDictElement *next; // r4\n  _DWORD *v4; // r5\n  cocos2d::CCDictElement *v5; // r2\n\n  m_inputs = a1->m_inputs;\n  if ( m_inputs )\n  {\n    m_pElements = m_inputs->m_pElements;\n    if ( m_pElements )\n      next = (cocos2d::CCDictElement *)m_pElements->hh.next;\n    else\n      next = nullptr;\n    while ( m_pElements )\n    {\n      v4 = &m_pElements->m_pObject->__vftable;\n      (*(void (__fastcall **)(_DWORD *, _DWORD))(*v4 + 572))(v4, 0);\n      v4[96] = 0;\n      if ( next )\n        v5 = (cocos2d::CCDictElement *)next->hh.next;\n      else\n        v5 = nullptr;\n      m_pElements = next;\n      next = v5;\n    }\n  }\n}", "assembly": "; \n; ConfigureHSVWidget::onClose from 0x4b69dc to 0x4b6a1a (62 bytes)\n; \n; 1 xrefs:\n; > HSVWidgetPopup::onClose @ 0x4b6a24\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\nLDR.W           R3, [R0,#0x140]                                        ; +0x0, 0x4b69dc\nPUSH            {R4-R6,LR}                                             ; +0x4, 0x4b69e0\nCBZ             R3, locret_4B6A18                                      ; +0x6, 0x4b69e2\nLDR             R3, [R3,#0x34]                                         ; +0x8, 0x4b69e4\nCBZ             R3, loc_4B69EE                                         ; +0xa, 0x4b69e6\nLDR.W           R4, [R3,#0x110]                                        ; +0xc, 0x4b69e8\nB               loc_4B69F0                                             ; +0x10, 0x4b69ec\nMOV             R4, R3                                                 ; +0x12, 0x4b69ee\nMOVS            R6, #0                                                 ; +0x14, 0x4b69f0\nCBZ             R3, locret_4B6A18                                      ; +0x16, 0x4b69f2\nLDR.W           R5, [R3,#0x104]                                        ; +0x18, 0x4b69f4\nMOVS            R1, #0                                                 ; +0x1c, 0x4b69f8\nLDR             R3, [R5]                                               ; +0x1e, 0x4b69fa\nMOV             R0, R5                                                 ; +0x20, 0x4b69fc\nLDR.W           R3, [R3,#0x23C]                                        ; +0x22, 0x4b69fe\nBLX             R3                                                     ; +0x26, 0x4b6a02\nSTR.W           R6, [R5,#0x180]                                        ; +0x28, 0x4b6a04\nCBZ             R4, loc_4B6A10                                         ; +0x2c, 0x4b6a08\nLDR.W           R2, [R4,#0x110]                                        ; +0x2e, 0x4b6a0a\nB               loc_4B6A12                                             ; +0x32, 0x4b6a0e\nMOV             R2, R4                                                 ; +0x34, 0x4b6a10\nMOV             R3, R4                                                 ; +0x36, 0x4b6a12\nMOV             R4, R2                                                 ; +0x38, 0x4b6a14\nB               loc_4B69F2                                             ; +0x3a, 0x4b6a16\nPOP             {R4-R6,PC}                                             ; +0x3c, 0x4b6a18", "xrefs": ["HSVWidgetPopup::onClose @ 0x4b6a24"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}