// // sub_1004D15B0 from 0x1004d15b0 to 0x1004d16fc (332 bytes) // // 4 xrefs: // > EditorSoundConfigInfoLayer::dEditorSoundConfigInfoLayer @ 0x1004d1700 // > sub_1004D1704 @ 0x1004d1708 // > sub_1004D170C @ 0x1004d1714 // > sub_1004D1720 @ 0x1004d172c // // 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:29 +0000 // __int64 __fastcall sub_1004D15B0(_QWORD *a1) { __int64 v2; // x0 __int64 v3; // x8 _DWORD *v4; // x0 *a1 = off_100988AA0; a1[40] = off_1009890F8; a1[41] = &off_100989168; a1[42] = off_100989180; a1[43] = off_1009891A0; a1[44] = off_1009891C8; a1[51] = off_1009891F8; a1[54] = off_100989278; a1[68] = off_100989298; a1[83] = &off_1009892E0; a1[84] = off_1009892F8; a1[127] = off_100989318; a1[128] = off_100989338; a1[129] = &off_100989358; a1[130] = &off_100989370; a1[131] = &off_100989388; a1[132] = &off_1009893A0; a1[133] = off_1009893B8; a1[134] = &off_1009893D8; a1[135] = off_1009893F0; if ( GameLevelManager::sharedState() && *(_QWORD **)(GameLevelManager::sharedState() + 1336) == a1 + 127 ) *(_QWORD *)(GameLevelManager::sharedState() + 1336) = 0; if ( GameLevelManager::sharedState() && *(_QWORD **)(GameLevelManager::sharedState() + 1344) == a1 + 128 ) *(_QWORD *)(GameLevelManager::sharedState() + 1344) = 0; if ( GameLevelManager::sharedState() && *(_QWORD **)(GameLevelManager::sharedState() + 1360) == a1 + 133 ) *(_QWORD *)(GameLevelManager::sharedState() + 1360) = 0; v2 = MusicDownloadManager::sharedState(); MusicDownloadManager::removeMusicDownloadDelegate(v2, (__int64)(a1 + 135)); v3 = a1[150]; if ( v3 ) *(_QWORD *)(v3 + 664) = 0; v4 = (_DWORD *)a1[136]; if ( v4 ) cocos2d::CCObject::release(v4); return sub_1001ABB48((__int64)a1); }
GD Web Decomp Icon

GD Web Decomp

Raw Source