{"type": "func", "start": 5694632, "end": 5694704, "name": "CustomSFXWidget::updateSFXObject", "pseudocode": "// \n// CustomSFXWidget::updateSFXObject from 0x56e4a8 to 0x56e4f0 (72 bytes)\n// \n// 1 xrefs:\n// > CustomSFXWidget::init @ 0x56eed2\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 CustomSFXWidget::updateSFXObject(CustomSFXWidget *a1, SFXInfoObject *a2)\n{\n  SFXInfoObject *m_sfxObject; // r0\n  SFXInfoObject *v5; // r3\n\n  a1->m_errorLabel->setVisible(a1->m_errorLabel, 0);\n  if ( a1->m_sfxObject != a2 )\n  {\n    if ( a2 )\n      cocos2d::CCObject::retain(a2);\n    m_sfxObject = a1->m_sfxObject;\n    if ( m_sfxObject )\n      cocos2d::CCObject::release(m_sfxObject);\n    a1->m_sfxObject = a2;\n  }\n  v5 = a1->m_sfxObject;\n  if ( v5 )\n    v5 = (SFXInfoObject *)v5->m_sfxID;\n  a1->m_sfxID = (int)v5;\n  CustomSFXWidget::updateSFXInfo(a1);\n}", "assembly": "; \n; CustomSFXWidget::updateSFXObject from 0x56e4a8 to 0x56e4f0 (72 bytes)\n; \n; 1 xrefs:\n; > CustomSFXWidget::init @ 0x56eed2\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\nPUSH            {R3-R5,LR}                                             ; +0x0, 0x56e4a8\nMOV             R4, R0                                                 ; +0x2, 0x56e4aa\nLDR.W           R0, [R0,#0x120]                                        ; +0x4, 0x56e4ac\nMOV             R5, R1                                                 ; +0x8, 0x56e4b0\nMOVS            R1, #0                                                 ; +0xa, 0x56e4b2\nLDR             R3, [R0]                                               ; +0xc, 0x56e4b4\nLDR.W           R3, [R3,#0xA4]                                         ; +0xe, 0x56e4b6\nBLX             R3                                                     ; +0x12, 0x56e4ba\nLDR.W           R3, [R4,#0x110]                                        ; +0x14, 0x56e4bc\nCMP             R3, R5                                                 ; +0x18, 0x56e4c0\nBEQ             loc_56E4DA                                             ; +0x1a, 0x56e4c2\nCBZ             R5, loc_56E4CC                                         ; +0x1c, 0x56e4c4\nMOV             R0, R5; this                                           ; +0x1e, 0x56e4c6\nBL              _ZN7cocos2d8CCObject6retainEv; cocos2d::CCObject::retain(void) ; +0x20, 0x56e4c8\nLDR.W           R0, [R4,#0x110]; this                                  ; +0x24, 0x56e4cc\nCBZ             R0, loc_56E4D6                                         ; +0x28, 0x56e4d0\nBL              _ZN7cocos2d8CCObject7releaseEv; cocos2d::CCObject::release(void) ; +0x2a, 0x56e4d2\nSTR.W           R5, [R4,#0x110]                                        ; +0x2e, 0x56e4d6\nLDR.W           R3, [R4,#0x110]                                        ; +0x32, 0x56e4da\nCBZ             R3, loc_56E4E2                                         ; +0x36, 0x56e4de\nLDR             R3, [R3,#0x34]                                         ; +0x38, 0x56e4e0\nSTR.W           R3, [R4,#0x150]                                        ; +0x3a, 0x56e4e2\nMOV             R0, R4; this                                           ; +0x3e, 0x56e4e6\nPOP.W           {R3-R5,LR}                                             ; +0x40, 0x56e4e8\nB.W             _ZN15CustomSFXWidget13updateSFXInfoEv; CustomSFXWidget::updateSFXInfo(void) ; +0x44, 0x56e4ec", "xrefs": ["CustomSFXWidget::init @ 0x56eed2"], "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"}