{"type": "func", "start": 4302014272, "end": 4302014346, "name": "CustomSFXWidget::downloadSFXFinished", "pseudocode": "// \n// CustomSFXWidget::downloadSFXFinished from 0x1006b8740 to 0x1006b878a (74 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x100b89ce0\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\nvoid __fastcall CustomSFXWidget::downloadSFXFinished(__int64 a1, int a2)\n{\n  __int64 v2; // rax\n\n  if ( *(_DWORD *)(a1 + 496) == a2 && *(_DWORD *)(a1 + 496) != 0 )\n  {\n    v2 = GameManager::sharedState();\n    if ( !(unsigned __int8)GameManager::getGameVariable(v2, \"0143\") )\n      CustomSFXWidget::onPlayback(a1);\n  }\n}", "assembly": "; \n; CustomSFXWidget::downloadSFXFinished from 0x1006b8740 to 0x1006b878a (74 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x100b89ce0\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, 0x1006b8740\nmov     rbp, rsp                                                       ; +0x1, 0x1006b8741\npush    rbx                                                            ; +0x4, 0x1006b8744\npush    rax                                                            ; +0x5, 0x1006b8745\nmov     eax, [rdi+1F0h]                                                ; +0x6, 0x1006b8746\ncmp     eax, esi                                                       ; +0xc, 0x1006b874c\nsetnz   cl                                                             ; +0xe, 0x1006b874e\ntest    eax, eax                                                       ; +0x11, 0x1006b8751\nsetz    al                                                             ; +0x13, 0x1006b8753\nor      al, cl                                                         ; +0x16, 0x1006b8756\njnz     short loc_1006B8775                                            ; +0x18, 0x1006b8758\nmov     rbx, rdi                                                       ; +0x1a, 0x1006b875a\ncall    GameManager__sharedState                                       ; +0x1d, 0x1006b875d\nlea     rsi, a0143; \"0143\"                                             ; +0x22, 0x1006b8762\nmov     rdi, rax                                                       ; +0x29, 0x1006b8769\ncall    GameManager__getGameVariable                                   ; +0x2c, 0x1006b876c\ntest    al, al                                                         ; +0x31, 0x1006b8771\njz      short loc_1006B877C                                            ; +0x33, 0x1006b8773\nadd     rsp, 8                                                         ; +0x35, 0x1006b8775\npop     rbx                                                            ; +0x39, 0x1006b8779\npop     rbp                                                            ; +0x3a, 0x1006b877a\nretn                                                                   ; +0x3b, 0x1006b877b\nmov     rdi, rbx                                                       ; +0x3c, 0x1006b877c\nadd     rsp, 8                                                         ; +0x3f, 0x1006b877f\npop     rbx                                                            ; +0x43, 0x1006b8783\npop     rbp                                                            ; +0x44, 0x1006b8784\njmp     CustomSFXWidget__onPlayback                                    ; +0x45, 0x1006b8785", "xrefs": ["<???> @ 0x100b89ce0"], "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"}