// // sub_10046A714 from 0x10046a714 to 0x10046a788 (116 bytes) // // 1 xrefs: // > sub_1004693D0 @ 0x10046941c // // 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:05:34 +0000 // void __fastcall sub_10046A714(__int64 a1) { __int64 v2; // x0 std::string __p; // [xsp+0h] [xbp-30h] BYREF bool v4; // [xsp+1Fh] [xbp-11h] BYREF *(_QWORD *)(*(_QWORD *)(a1 + 712) + 152LL) = *(_QWORD *)(*(_QWORD *)(a1 + 712) + 144LL); if ( *(_QWORD *)(GameManager::sharedState() + 552) ) { v4 = 0; v2 = GameManager::sharedState(); LevelEditorLayer::getSongIDs(*(_QWORD *)(v2 + 552), &v4, &__p); sub_1001D611C(&__p, *(_QWORD *)(a1 + 712) + 144LL); if ( SHIBYTE(__p.__r_.__value_.__r.__words[2]) < 0 ) operator delete(__p.__r_.__value_.__l.__data_); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source