// // sub_1005E4EC0 from 0x1005e4ec0 to 0x1005e4f27 (103 bytes) // // 1 xrefs: // > @ 0x1009770f0 // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // void __fastcall sub_1005E4EC0(__int64 a1, __int64 a2, char a3) { CustomSFXWidget *v4; // rbx int v5; // eax GameManager *v6; // rax v4 = (CustomSFXWidget *)(a1 - 328); v5 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a2 + 64LL))(a2); if ( v5 == 3 ) { if ( a3 ) CustomSFXWidget::deleteSFX(v4); } else if ( v5 == 1 ) { if ( a3 ) { v6 = GameManager::sharedState(); GameManager::setGameVariable(v6, "0016", 1); CustomSFXWidget::onDownload(v4, (cocos2d::CCObject *)"0016"); } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source