// // sub_1004D79E0 from 0x1004d79e0 to 0x1004d7a80 (160 bytes) // // 1 xrefs: // > EditorSoundsLayer::init @ 0x1004d7588 // // 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 11:06:32 +0000 // void __fastcall sub_1004D79E0(__int64 a1) { __int64 v2; // x0 __int64 v3; // x0 void *v4; // x19 void *__p[2]; // [xsp+8h] [xbp-28h] BYREF char v6; // [xsp+1Fh] [xbp-11h] v2 = GameManager::sharedState(); if ( GameManager::offlineModeEnabled(v2) ) { GameManager::sharedState(); sub_1003B6200(); } else { v3 = *(_QWORD *)(a1 + 1096); if ( v3 ) (*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v3 + 1160LL))(v3, 0); sub_100009900(__p, ""); v4 = sub_1004CC090((__int64)__p, a1); if ( v6 < 0 ) operator delete(__p[0]); if ( v4 ) (*(void (__fastcall **)(void *))(*(_QWORD *)v4 + 1312LL))(v4); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source