// // SFXBrowser::onShareSetup from 0xb97510 to 0xb976b4 (420 bytes) // // 3 xrefs: // > @ 0xf2f68 // > sub_B947C8 @ 0xb95de4 // > @ 0x15475b8 // // 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:41 +0000 // __int64 __fastcall SFXBrowser::onShareSetup(SFXBrowser *this, cocos2d::CCObject *a2) { GameManager *v3; // x0 GameManager *v4; // x0 __int64 v5; // x1 __int64 v6; // x22 int v7; // w23 __int64 v8; // x0 __int64 v9; // x21 void *v10; // x21 _QWORD *v12; // [xsp+48h] [xbp+48h] BYREF _QWORD v13[2]; // [xsp+50h] [xbp+50h] BYREF __int64 v14[2]; // [xsp+60h] [xbp+60h] BYREF void *v15; // [xsp+70h] [xbp+70h] v3 = *(GameManager **)(GameManager::sharedState(_stack_chk_guard) + 552); if ( v3 ) { v4 = *(GameManager **)(*(_QWORD *)(GameManager::sharedState(v3) + 552) + 3272LL); if ( v4 ) { v5 = *(_QWORD *)(GameManager::sharedState(v4) + 552); v13[0] = 0; v13[1] = 0; v6 = *(_QWORD *)(v5 + 3272); v12 = v13; v7 = *(_DWORD *)(v6 + 632); v8 = GameManager::sharedState((GameManager *)v13); if ( v7 == *(_DWORD *)(v8 + 660) - *(_DWORD *)(v8 + 664) && &v12 != (_QWORD **)(v6 + 640) ) std::__tree::__assign_multi *,long>>( &v12, *(_QWORD **)(v6 + 640), (_QWORD *)(v6 + 648)); v14[0] = 0; v14[1] = 0; v15 = nullptr; std::string::__init(v14, &byte_11B8890, 0); v9 = SFXFolderPickerPopup::create(2, v14, &v12, (char *)this + 704, 0); if ( (v14[0] & 1) != 0 ) operator delete(v15); (*(void (__fastcall **)(__int64))(*(_QWORD *)v9 + 1312LL))(v9); v10 = (void *)v13[0]; if ( v13[0] ) { std::__tree::destroy((__int64)&v12, *(_QWORD **)v13[0]); std::__tree::destroy((__int64)&v12, *(_QWORD **)&byte_8[(_QWORD)v10]); operator delete(v10); } } } return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source