// // sub_1008EE290 from 0x1008ee290 to 0x1008ee36c (220 bytes) // // 1 xrefs: // > sub_1008FF950 @ 0x1008ff9bc // // This function is hookable on this platform (idp: pc, 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 12:37:54 +0000 // void __fastcall sub_1008EE290(__int64 a1) { void *v1; // rbx int *v2; // r12 int *i; // r13 int v4; // r15d __int64 v5; // rax __int64 v6; // rax __int64 v7; // rax void *v8; // [rsp+8h] [rbp-58h] BYREF int *v9; // [rsp+10h] [rbp-50h] std::string v10; // [rsp+20h] [rbp-40h] BYREF sub_1008EE080((char **)&v8, a1); v1 = v8; v2 = v9; if ( v8 != v9 ) { for ( i = (int *)v8; i != v2; ++i ) { v4 = *i; v5 = MusicDownloadManager::sharedState(); MusicDownloadManager::pathForSFX(&v10, v5, v4); if ( (*(_BYTE *)&v10.__r_.__value_.__s.0 & 1) != 0 ) { if ( !v10.__r_.__value_.__l.__size_ ) goto LABEL_9; } else if ( !(*(_BYTE *)&v10.__r_.__value_.__l.0 >> 1) ) { goto LABEL_9; } v6 = cocos2d::CCFileUtils::sharedFileUtils(); if ( !(*(unsigned __int8 (__fastcall **)(__int64, std::string *))(*(_QWORD *)v6 + 160LL))(v6, &v10) ) { LABEL_9: v7 = MusicDownloadManager::sharedState(); MusicDownloadManager::downloadSFX(v7, v4); } if ( (*(_BYTE *)&v10.__r_.__value_.__s.0 & 1) != 0 ) operator delete(v10.__r_.__value_.__l.__data_); } } if ( v1 ) operator delete(v1); }
GD Web Decomp Icon

GD Web Decomp

Raw Source