{"type": "func", "start": 5369505280, "end": 5369505403, "name": "CustomSFXWidget::downloadSFXFinished", "pseudocode": "// \n// CustomSFXWidget::downloadSFXFinished from 0x1400c2600 to 0x1400c267b (123 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x14054ca40\n// > <???> @ 0x1406c7fc8\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\n// Hidden C++ exception states: #wind=1\nvoid CustomSFXWidget::downloadSFXFinished(CustomSFXWidget *a1, int a2)\n{\n  CustomSFXWidget *v2; // rbx\n  float ty; // eax\n  GameManager *v4; // rcx\n  void *v5; // [rsp+30h] [rbp+8h]\n\n  v2 = (CustomSFXWidget *)((char *)a1 - 320);\n  ty = a1->m_sAdditionalTransform.ty;\n  if ( LODWORD(ty) == a2 && ty != 0.0 )\n  {\n    v4 = (GameManager *)qword_1406C2ED8;\n    if ( !qword_1406C2ED8 )\n    {\n      v5 = operator new(0x668u);\n      qword_1406C2ED8 = sub_14017AB00(v5);\n      (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2ED8 + 72LL))(qword_1406C2ED8);\n      v4 = (GameManager *)qword_1406C2ED8;\n    }\n    if ( !GameManager::getGameVariable(v4, \"0143\") )\n      CustomSFXWidget::onPlayback(v2, nullptr);\n  }\n}", "assembly": "; \n; CustomSFXWidget::downloadSFXFinished from 0x1400c2600 to 0x1400c267b (123 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x14054ca40\n; > <???> @ 0x1406c7fc8\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    rbx                                                            ; +0x0, 0x1400c2600\nsub     rsp, 20h                                                       ; +0x2, 0x1400c2602\nlea     rbx, [rcx-140h]                                                ; +0x6, 0x1400c2606\nmov     eax, [rcx+88h]                                                 ; +0xd, 0x1400c260d\ncmp     eax, edx                                                       ; +0x13, 0x1400c2613\njnz     short loc_1400C2675                                            ; +0x15, 0x1400c2615\ntest    eax, eax                                                       ; +0x17, 0x1400c2617\njz      short loc_1400C2675                                            ; +0x19, 0x1400c2619\nmov     rcx, cs:qword_1406C2ED8                                        ; +0x1b, 0x1400c261b\ntest    rcx, rcx                                                       ; +0x22, 0x1400c2622\njnz     short loc_1400C2656                                            ; +0x25, 0x1400c2625\nmov     ecx, 668h; Size                                                ; +0x27, 0x1400c2627\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x2c, 0x1400c262c\nmov     [rsp+28h+arg_0], rax                                           ; +0x31, 0x1400c2631\nmov     rcx, rax                                                       ; +0x36, 0x1400c2636\ncall    sub_14017AB00                                                  ; +0x39, 0x1400c2639\nnop                                                                    ; +0x3e, 0x1400c263e\nmov     cs:qword_1406C2ED8, rax                                        ; +0x3f, 0x1400c263f\nmov     rdx, [rax]                                                     ; +0x46, 0x1400c2646\nmov     rcx, rax                                                       ; +0x49, 0x1400c2649\ncall    qword ptr [rdx+48h]                                            ; +0x4c, 0x1400c264c\nmov     rcx, cs:qword_1406C2ED8                                        ; +0x4f, 0x1400c264f\nlea     rdx, a0143; \"0143\"                                             ; +0x56, 0x1400c2656\ncall    GameManager__getGameVariable                                   ; +0x5d, 0x1400c265d\ntest    al, al                                                         ; +0x62, 0x1400c2662\njnz     short loc_1400C2675                                            ; +0x64, 0x1400c2664\nxor     edx, edx                                                       ; +0x66, 0x1400c2666\nmov     rcx, rbx                                                       ; +0x68, 0x1400c2668\nadd     rsp, 20h                                                       ; +0x6b, 0x1400c266b\npop     rbx                                                            ; +0x6f, 0x1400c266f\njmp     CustomSFXWidget__onPlayback                                    ; +0x70, 0x1400c2670\nadd     rsp, 20h                                                       ; +0x75, 0x1400c2675\npop     rbx                                                            ; +0x79, 0x1400c2679\nretn                                                                   ; +0x7a, 0x1400c267a", "xrefs": ["<???> @ 0x14054ca40", "<???> @ 0x1406c7fc8"], "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"}