{"type": "func", "start": 5697780, "end": 5697818, "name": "CustomSFXWidget::downloadSFXFinished", "pseudocode": "// \n// CustomSFXWidget::downloadSFXFinished from 0x56f0f4 to 0x56f11a (38 bytes)\n// \n// 1 xrefs:\n// > `non-virtual thunk to'CustomSFXWidget::downloadSFXFinished @ 0x56f124\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 CustomSFXWidget::downloadSFXFinished(CustomSFXWidget *a1, int a2)\n{\n  GameManager *v3; // r0\n\n  if ( CustomSFXWidget::verifySFXID(a1, a2) )\n  {\n    v3 = GameManager::sharedState();\n    if ( !GameManager::getGameVariable(v3, \"0143\") )\n      CustomSFXWidget::onPlayback(a1, nullptr);\n  }\n}", "assembly": "; \n; CustomSFXWidget::downloadSFXFinished from 0x56f0f4 to 0x56f11a (38 bytes)\n; \n; 1 xrefs:\n; > `non-virtual thunk to'CustomSFXWidget::downloadSFXFinished @ 0x56f124\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            {R4,LR}                                                ; +0x0, 0x56f0f4\nMOV             R4, R0                                                 ; +0x2, 0x56f0f6\nBL              _ZN15CustomSFXWidget11verifySFXIDEi; CustomSFXWidget::verifySFXID(int) ; +0x4, 0x56f0f8\nCBZ             R0, locret_56F118                                      ; +0x8, 0x56f0fc\nBL              _ZN11GameManager11sharedStateEv; GameManager::sharedState(void) ; +0xa, 0x56f0fe\nLDR             R1, =(a0143 - 0x56F108); \"0143\"                        ; +0xe, 0x56f102\nADD             R1, PC; \"0143\"                                         ; +0x10, 0x56f104\nBL              _ZN11GameManager15getGameVariableEPKc; GameManager::getGameVariable(char const*) ; +0x12, 0x56f106\nMOV             R1, R0; cocos2d::CCObject *                            ; +0x16, 0x56f10a\nCBNZ            R0, locret_56F118                                      ; +0x18, 0x56f10c\nMOV             R0, R4; this                                           ; +0x1a, 0x56f10e\nPOP.W           {R4,LR}                                                ; +0x1c, 0x56f110\nB.W             _ZN15CustomSFXWidget10onPlaybackEPN7cocos2d8CCObjectE; CustomSFXWidget::onPlayback(cocos2d::CCObject *) ; +0x20, 0x56f114\nPOP             {R4,PC}                                                ; +0x24, 0x56f118", "xrefs": ["`non-virtual thunk to'CustomSFXWidget::downloadSFXFinished @ 0x56f124"], "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"}