{"type": "func", "start": 4301147024, "end": 4301147098, "name": "CustomSFXWidget::downloadSFXFinished", "pseudocode": "// \n// CustomSFXWidget::downloadSFXFinished from 0x1005e4b90 to 0x1005e4bda (74 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x100977060\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::downloadSFXFinished(CustomSFXWidget *a1, int a2)\n{\n  GameManager *v2; // rax\n\n  if ( a1->m_sfxID == a2 && a1->m_sfxID != 0 )\n  {\n    v2 = GameManager::sharedState();\n    if ( !GameManager::getGameVariable(v2, \"0143\") )\n      CustomSFXWidget::onPlayback(a1, (cocos2d::CCObject *)\"0143\");\n  }\n}", "assembly": "; \n; CustomSFXWidget::downloadSFXFinished from 0x1005e4b90 to 0x1005e4bda (74 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x100977060\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, 0x1005e4b90\nmov     rbp, rsp                                                       ; +0x1, 0x1005e4b91\npush    rbx                                                            ; +0x4, 0x1005e4b94\npush    rax                                                            ; +0x5, 0x1005e4b95\nmov     eax, [rdi+1C8h]                                                ; +0x6, 0x1005e4b96\ncmp     eax, esi                                                       ; +0xc, 0x1005e4b9c\nsetnz   cl                                                             ; +0xe, 0x1005e4b9e\ntest    eax, eax                                                       ; +0x11, 0x1005e4ba1\nsetz    al                                                             ; +0x13, 0x1005e4ba3\nor      al, cl                                                         ; +0x16, 0x1005e4ba6\njnz     short loc_1005E4BC5                                            ; +0x18, 0x1005e4ba8\nmov     rbx, rdi                                                       ; +0x1a, 0x1005e4baa\ncall    GameManager__sharedState                                       ; +0x1d, 0x1005e4bad\nlea     rsi, a0143; \"0143\"                                             ; +0x22, 0x1005e4bb2\nmov     rdi, rax                                                       ; +0x29, 0x1005e4bb9\ncall    GameManager__getGameVariable                                   ; +0x2c, 0x1005e4bbc\ntest    al, al                                                         ; +0x31, 0x1005e4bc1\njz      short loc_1005E4BCC                                            ; +0x33, 0x1005e4bc3\nadd     rsp, 8                                                         ; +0x35, 0x1005e4bc5\npop     rbx                                                            ; +0x39, 0x1005e4bc9\npop     rbp                                                            ; +0x3a, 0x1005e4bca\nretn                                                                   ; +0x3b, 0x1005e4bcb\nmov     rdi, rbx                                                       ; +0x3c, 0x1005e4bcc\nadd     rsp, 8                                                         ; +0x3f, 0x1005e4bcf\npop     rbx                                                            ; +0x43, 0x1005e4bd3\npop     rbp                                                            ; +0x44, 0x1005e4bd4\njmp     CustomSFXWidget__onPlayback                                    ; +0x45, 0x1005e4bd5", "xrefs": ["<???> @ 0x100977060"], "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"}