{"type": "func", "start": 4301143728, "end": 4301143858, "name": "CustomSFXWidget::updateSFXObject", "pseudocode": "// \n// CustomSFXWidget::updateSFXObject from 0x1005e3eb0 to 0x1005e3f32 (130 bytes)\n// \n// 0 xrefs:\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 __fastcall CustomSFXWidget::updateSFXObject(CustomSFXWidget *a1, SFXInfoObject *a2)\n{\n  SFXInfoObject *v2; // r14\n  int m_sfxID; // r15d\n  SFXInfoObject *m_sfxObject; // rdi\n\n  v2 = a2;\n  m_sfxID = 0;\n  ((void (__fastcall *)(cocos2d::CCLabelBMFont *, _QWORD))a1->m_errorLabel->setVisible)(a1->m_errorLabel, 0);\n  m_sfxObject = a1->m_sfxObject;\n  if ( m_sfxObject == a2 )\n  {\n    v2 = a1->m_sfxObject;\n    if ( !m_sfxObject )\n      goto LABEL_8;\n    goto LABEL_7;\n  }\n  if ( a2 )\n  {\n    cocos2d::CCObject::retain(a2);\n    m_sfxObject = a1->m_sfxObject;\n  }\n  if ( m_sfxObject )\n    cocos2d::CCObject::release(m_sfxObject);\n  a1->m_sfxObject = a2;\n  if ( a2 )\nLABEL_7:\n    m_sfxID = v2->m_sfxID;\nLABEL_8:\n  a1->m_sfxID = m_sfxID;\n  CustomSFXWidget::updateSFXInfo(a1);\n}", "assembly": "; \n; CustomSFXWidget::updateSFXObject from 0x1005e3eb0 to 0x1005e3f32 (130 bytes)\n; \n; 0 xrefs:\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    rbp                                                            ; +0x0, 0x1005e3eb0\nmov     rbp, rsp                                                       ; +0x1, 0x1005e3eb1\npush    r15                                                            ; +0x4, 0x1005e3eb4\npush    r14                                                            ; +0x6, 0x1005e3eb6\npush    rbx                                                            ; +0x8, 0x1005e3eb8\npush    rax                                                            ; +0x9, 0x1005e3eb9\nmov     r14, rsi                                                       ; +0xa, 0x1005e3eba\nmov     rbx, rdi                                                       ; +0xd, 0x1005e3ebd\nmov     rdi, [rdi+170h]                                                ; +0x10, 0x1005e3ec0\nmov     rax, [rdi]                                                     ; +0x17, 0x1005e3ec7\nxor     r15d, r15d                                                     ; +0x1a, 0x1005e3eca\nxor     esi, esi                                                       ; +0x1d, 0x1005e3ecd\ncall    qword ptr [rax+148h]                                           ; +0x1f, 0x1005e3ecf\nmov     rdi, [rbx+150h]                                                ; +0x25, 0x1005e3ed5\ncmp     rdi, r14                                                       ; +0x2c, 0x1005e3edc\njz      short loc_1005E3F28                                            ; +0x2f, 0x1005e3edf\ntest    r14, r14                                                       ; +0x31, 0x1005e3ee1\njz      short loc_1005E3EF5                                            ; +0x34, 0x1005e3ee4\nmov     rdi, r14                                                       ; +0x36, 0x1005e3ee6\ncall    cocos2d__CCObject__retain                                      ; +0x39, 0x1005e3ee9\nmov     rdi, [rbx+150h]                                                ; +0x3e, 0x1005e3eee\ntest    rdi, rdi                                                       ; +0x45, 0x1005e3ef5\njz      short loc_1005E3EFF                                            ; +0x48, 0x1005e3ef8\ncall    cocos2d__CCObject__release                                     ; +0x4a, 0x1005e3efa\nmov     [rbx+150h], r14                                                ; +0x4f, 0x1005e3eff\ntest    r14, r14                                                       ; +0x56, 0x1005e3f06\njz      short loc_1005E3F0F                                            ; +0x59, 0x1005e3f09\nmov     r15d, [r14+38h]                                                ; +0x5b, 0x1005e3f0b\nmov     [rbx+1C8h], r15d                                               ; +0x5f, 0x1005e3f0f\nmov     rdi, rbx                                                       ; +0x66, 0x1005e3f16\nadd     rsp, 8                                                         ; +0x69, 0x1005e3f19\npop     rbx                                                            ; +0x6d, 0x1005e3f1d\npop     r14                                                            ; +0x6e, 0x1005e3f1e\npop     r15                                                            ; +0x70, 0x1005e3f20\npop     rbp                                                            ; +0x72, 0x1005e3f22\njmp     CustomSFXWidget__updateSFXInfo                                 ; +0x73, 0x1005e3f23\nmov     r14, rdi                                                       ; +0x78, 0x1005e3f28\ntest    r14, r14                                                       ; +0x7b, 0x1005e3f2b\njnz     short loc_1005E3F0B                                            ; +0x7e, 0x1005e3f2e\njmp     short loc_1005E3F0F                                            ; +0x80, 0x1005e3f30", "xrefs": [], "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"}