// // SFXBrowser::onReplaceSetup from 0x6c3ed8 to 0x6c3f8a (178 bytes) // // 0 xrefs: // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings // Generated at Fri, 27 Nov 2026 11:56:53 +0000 // GameManager *__fastcall SFXBrowser::onReplaceSetup(SFXBrowser *this, cocos2d::CCObject *a2) { GameManager *result; // r0 int v4; // r2 int v5; // r3 int v6; // r3 int *v7; // r4 int v8[3]; // [sp+8h] [bp-10h] BYREF result = (GameManager *)GameManager::sharedState(this); if ( *((_DWORD *)result + 102) ) { result = (GameManager *)GameManager::sharedState(result); if ( *(_DWORD *)(*((_DWORD *)result + 102) + 2084) ) { result = (GameManager *)GameManager::sharedState(result); v4 = *(_DWORD *)(*((_DWORD *)result + 102) + 2084); v5 = *(unsigned __int8 *)(v4 + 464); if ( (v5 & 1) != 0 ) v6 = *(_DWORD *)(v4 + 468); else v6 = v5 >> 1; if ( v6 ) { memset(v8, 0, sizeof(v8)); std::string::__init( v8, "This deletes your custom SFX folders and replaces them with this level's shared setup. Continue?", 0x68u); v7 = FLAlertLayer::create( (int)this + 536, (cocos2d::CCLabelBMFont *)"Replace SFX Folders", (int)v8, (ButtonSprite *)"Cancel", (ButtonSprite *)"Replace", 300.0); std::string::~string((int)v8); (*(void (__fastcall **)(int *, int))(*v7 + 36))(v7, 11); return (GameManager *)(*(int (__fastcall **)(int *))(*v7 + 656))(v7); } } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source