// // SFXBrowser::onReplaceSetup from 0xb8ead8 to 0xb8ec08 (304 bytes) // // 3 xrefs: // > @ 0xea460 // > sub_B947C8 @ 0xb95d44 // > @ 0x1547140 // // This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True! // // 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 13:02:36 +0000 // __int64 __fastcall SFXBrowser::onReplaceSetup(SFXBrowser *this, cocos2d::CCObject *a2) { GameManager *v3; // x0 GameManager *v4; // x0 __int64 v5; // x2 __int64 v6; // x1 __int64 v7; // x20 __int64 v9[2]; // [xsp+30h] [xbp+30h] BYREF void *v10; // [xsp+40h] [xbp+40h] v3 = *(GameManager **)(GameManager::sharedState(_stack_chk_guard) + 552); if ( v3 ) { v4 = *(GameManager **)(*(_QWORD *)(GameManager::sharedState(v3) + 552) + 3272LL); if ( v4 ) { v5 = *(_QWORD *)(*(_QWORD *)(GameManager::sharedState(v4) + 552) + 3272LL) + 608LL; v6 = *(_BYTE *)v5 >> 1; if ( (*(_BYTE *)v5 & 1) != 0 ) v6 = *(_QWORD *)(v5 + 8); if ( v6 ) { v9[0] = 0; v9[1] = 0; v10 = nullptr; std::string::__init( v9, "This deletes your custom SFX folders and replaces them with this level's shared setup. Continue?", 0x68u); v7 = FLAlertLayer::create( (__int64)this + 696, (cocos2d::CCLabelBMFont *)"Replace SFX Folders", (char *)v9, (ButtonSprite *)"Cancel", (ButtonSprite *)"Replace", 300.0); if ( (v9[0] & 1) != 0 ) operator delete(v10); (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v7 + 72LL))(v7, 11); (*(void (__fastcall **)(__int64))(*(_QWORD *)v7 + 1312LL))(v7); } } } return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source