{"type": "func", "start": 4302009616, "end": 4302009746, "name": "CustomSFXWidget::updateSFXObject", "pseudocode": "// \n// CustomSFXWidget::updateSFXObject from 0x1006b7510 to 0x1006b7592 (130 bytes)\n// \n// 0 xrefs:\n// \n// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\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 12:35:28 +0000\n// \n\n__int64 __fastcall CustomSFXWidget::updateSFXObject(__int64 a1, __int64 a2)\n{\n  __int64 v2; // r14\n  int v4; // r15d\n  _DWORD *v5; // rdi\n\n  v2 = a2;\n  v4 = 0;\n  (*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(a1 + 368) + 344LL))(*(_QWORD *)(a1 + 368), 0);\n  v5 = *(_DWORD **)(a1 + 336);\n  if ( v5 == (_DWORD *)a2 )\n  {\n    v2 = *(_QWORD *)(a1 + 336);\n    if ( !v5 )\n      goto LABEL_8;\n    goto LABEL_7;\n  }\n  if ( a2 )\n  {\n    cocos2d::CCObject::retain(a2);\n    v5 = *(_DWORD **)(a1 + 336);\n  }\n  if ( v5 )\n    cocos2d::CCObject::release(v5);\n  *(_QWORD *)(a1 + 336) = a2;\n  if ( a2 )\nLABEL_7:\n    v4 = *(_DWORD *)(v2 + 56);\nLABEL_8:\n  *(_DWORD *)(a1 + 496) = v4;\n  return CustomSFXWidget::updateSFXInfo(a1);\n}", "assembly": "; \n; CustomSFXWidget::updateSFXObject from 0x1006b7510 to 0x1006b7592 (130 bytes)\n; \n; 0 xrefs:\n; \n; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\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 12:35:28 +0000\n; \npush    rbp                                                            ; +0x0, 0x1006b7510\nmov     rbp, rsp                                                       ; +0x1, 0x1006b7511\npush    r15                                                            ; +0x4, 0x1006b7514\npush    r14                                                            ; +0x6, 0x1006b7516\npush    rbx                                                            ; +0x8, 0x1006b7518\npush    rax                                                            ; +0x9, 0x1006b7519\nmov     r14, rsi                                                       ; +0xa, 0x1006b751a\nmov     rbx, rdi                                                       ; +0xd, 0x1006b751d\nmov     rdi, [rdi+170h]                                                ; +0x10, 0x1006b7520\nmov     rax, [rdi]                                                     ; +0x17, 0x1006b7527\nxor     r15d, r15d                                                     ; +0x1a, 0x1006b752a\nxor     esi, esi                                                       ; +0x1d, 0x1006b752d\ncall    qword ptr [rax+158h]                                           ; +0x1f, 0x1006b752f\nmov     rdi, [rbx+150h]                                                ; +0x25, 0x1006b7535\ncmp     rdi, r14                                                       ; +0x2c, 0x1006b753c\njz      short loc_1006B7588                                            ; +0x2f, 0x1006b753f\ntest    r14, r14                                                       ; +0x31, 0x1006b7541\njz      short loc_1006B7555                                            ; +0x34, 0x1006b7544\nmov     rdi, r14                                                       ; +0x36, 0x1006b7546\ncall    cocos2d__CCObject__retain                                      ; +0x39, 0x1006b7549\nmov     rdi, [rbx+150h]                                                ; +0x3e, 0x1006b754e\ntest    rdi, rdi                                                       ; +0x45, 0x1006b7555\njz      short loc_1006B755F                                            ; +0x48, 0x1006b7558\ncall    cocos2d__CCObject__release                                     ; +0x4a, 0x1006b755a\nmov     [rbx+150h], r14                                                ; +0x4f, 0x1006b755f\ntest    r14, r14                                                       ; +0x56, 0x1006b7566\njz      short loc_1006B756F                                            ; +0x59, 0x1006b7569\nmov     r15d, [r14+38h]                                                ; +0x5b, 0x1006b756b\nmov     [rbx+1F0h], r15d                                               ; +0x5f, 0x1006b756f\nmov     rdi, rbx                                                       ; +0x66, 0x1006b7576\nadd     rsp, 8                                                         ; +0x69, 0x1006b7579\npop     rbx                                                            ; +0x6d, 0x1006b757d\npop     r14                                                            ; +0x6e, 0x1006b757e\npop     r15                                                            ; +0x70, 0x1006b7580\npop     rbp                                                            ; +0x72, 0x1006b7582\njmp     CustomSFXWidget__updateSFXInfo                                 ; +0x73, 0x1006b7583\nmov     r14, rdi                                                       ; +0x78, 0x1006b7588\ntest    r14, r14                                                       ; +0x7b, 0x1006b758b\njnz     short loc_1006B756B                                            ; +0x7e, 0x1006b758e\njmp     short loc_1006B756F                                            ; +0x80, 0x1006b7590", "xrefs": [], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "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"}