// // MoreSearchLayer::updateAudioLabel from 0x14043f680 to 0x14043f969 (745 bytes) // // 3 xrefs: // > MoreSearchLayer::selectSong @ 0x14043fd27 // > MoreSearchLayer::onSongMode @ 0x140440215 // > @ 0x140927014 // // 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 11:32:21 +0000 // // Hidden C++ exception states: #wind=5 void __fastcall MoreSearchLayer::updateAudioLabel(__int64 a1) { __int64 v2; // rcx cocos2d::CCString *v3; // rax int v4; // esi void *v5; // r8 int v6; // esi __int64 v7; // rcx cocos2d::CCString *v8; // rax void *v9; // rcx const char *v10; // r8 cocos2d::CCString *v11; // rax const char *CString; // rax void *v13; // [rsp+30h] [rbp-19h] void *v14; // [rsp+30h] [rbp-19h] void *Block[2]; // [rsp+38h] [rbp-11h] BYREF __int64 v16; // [rsp+48h] [rbp-1h] unsigned __int64 v17; // [rsp+50h] [rbp+7h] void *v18[2]; // [rsp+58h] [rbp+Fh] BYREF __int64 v19; // [rsp+68h] [rbp+1Fh] unsigned __int64 v20; // [rsp+70h] [rbp+27h] _QWORD v21[4]; // [rsp+78h] [rbp+2Fh] BYREF v2 = *(_QWORD *)&qword_14090BFB0; if ( !*(_QWORD *)&qword_14090BFB0 ) { v13 = operator new(0x690u); *(_QWORD *)&qword_14090BFB0 = GameLevelManager::GameLevelManager((__int64)v13); (*(void (__fastcall **)(_QWORD))(**(_QWORD **)&qword_14090BFB0 + 72LL))(*(_QWORD *)&qword_14090BFB0); v2 = *(_QWORD *)&qword_14090BFB0; } v16 = 11; v17 = 15; Block[0] = (void *)0x6C69665F676E6F73LL; Block[1] = (void *)7497076; v3 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(*(_QWORD *)(v2 + 848), Block); v4 = cocos2d::CCString::intValue(v3); if ( v17 > 0xF ) { v5 = Block[0]; if ( v17 + 1 >= 0x1000 ) { v5 = *((void **)Block[0] - 1); if ( (unsigned __int64)((char *)Block[0] - (char *)v5 - 8) > 0x1F ) invoke_watson(nullptr, nullptr, nullptr, 0, 0); } j_j_free(v5); } v16 = 0; v17 = 15; LOBYTE(Block[0]) = 0; if ( v4 >= 1 ) { v7 = *(_QWORD *)&qword_14090BFB0; if ( !*(_QWORD *)&qword_14090BFB0 ) { v14 = operator new(0x690u); *(_QWORD *)&qword_14090BFB0 = GameLevelManager::GameLevelManager((__int64)v14); (*(void (__fastcall **)(_QWORD))(**(_QWORD **)&qword_14090BFB0 + 72LL))(*(_QWORD *)&qword_14090BFB0); v7 = *(_QWORD *)&qword_14090BFB0; } v19 = 11; v20 = 15; v18[0] = (void *)0x6C69665F676E6F73LL; v18[1] = (void *)7497076; v8 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(*(_QWORD *)(v7 + 848), v18); v6 = cocos2d::CCString::intValue(v8); if ( v20 > 0xF ) { v9 = v18[0]; if ( v20 + 1 >= 0x1000 ) { v9 = *((void **)v18[0] - 1); if ( (unsigned __int64)((char *)v18[0] - (char *)v9 - 8) > 0x1F ) invoke_watson(nullptr, nullptr, nullptr, 0, 0); } j_j_free(v9); } } else { v6 = 1; } LevelTools::getAudioTitle(v21, (unsigned int)(v6 - 1)); v10 = (const char *)v21; if ( v21[3] > 0xFu ) v10 = (const char *)v21[0]; v11 = cocos2d::CCString::createWithFormat("%02d: %s", v6, v10); CString = cocos2d::CCString::getCString(v11); (**(void (__fastcall ***)(__int64, const char *))(*(_QWORD *)(a1 + 664) + 360LL))( *(_QWORD *)(a1 + 664) + 360LL, CString); if ( (float)(200.0 / *(float *)(*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 664) + 320LL))(*(_QWORD *)(a1 + 664))) <= 0.80000001 ) (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 664) + 320LL))(*(_QWORD *)(a1 + 664)); (*(void (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 664) + 160LL))(*(_QWORD *)(a1 + 664)); sub_14003D310((__int64)v21); }
GD Web Decomp Icon

GD Web Decomp

Raw Source