// // EditorSoundConfigInfoLayer::onUpload from 0xcccd8c to 0xccce1c (144 bytes) // // 3 xrefs: // > @ 0xb65a8 // > EditorSoundConfigInfoLayer::init @ 0xcd1714 // > @ 0x15453e8 // // 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:06:25 +0000 // EditorSoundConfigUploadPopup **__fastcall EditorSoundConfigInfoLayer::onUpload( EditorSoundConfigUploadPopup **this, cocos2d::CCObject *a2) { EditorSoundConfigUploadPopup **v2; // x19 GameManager *v3; // x0 GameManager *v4; // x0 __int64 v5; // x0 EditorSoundConfigInfoLayer *v6; // x2 GJAccountManager *v7; // x0 GameManager *v8; // x0 GJAccountManager *v9; // x0 if ( *(this + 136) ) { v2 = this; v3 = (GameManager *)GameManager::sharedState((GameManager *)this); v4 = (GameManager *)(unsigned __int8)GameManager::safeModeEnabled(v3); if ( (_BYTE)v4 ) { v8 = (GameManager *)GameManager::sharedState(v4); return (EditorSoundConfigUploadPopup **)GameManager::showParentalRestrictedAlert(v8); } else { v5 = GJAccountManager::sharedState(v4); v7 = (GJAccountManager *)(unsigned int)(*(_DWORD *)(v5 + 352) - *(_DWORD *)(v5 + 356)); if ( (int)v7 <= 0 ) { v9 = (GJAccountManager *)GJAccountManager::sharedState(v7); return (EditorSoundConfigUploadPopup **)GJAccountManager::showAccountNeededAlert( v9, "upload sound packs"); } else { this = (EditorSoundConfigUploadPopup **)EditorSoundConfigUploadPopup::create( v2[136], (GJEditorSoundConfig *)v2, v6); if ( this ) return (EditorSoundConfigUploadPopup **)(*((__int64 (__fastcall **)(EditorSoundConfigUploadPopup **))*this + 164))(this); } } } return this; }
GD Web Decomp Icon

GD Web Decomp

Raw Source