// // MoreSearchLayer::selectSong from 0x14043fbf0 to 0x14043fd4b (347 bytes) // // 4 xrefs: // > MoreSearchLayer::onSongFilter @ 0x14043f649 // > MoreSearchLayer::audioNext @ 0x14043fa8c // > MoreSearchLayer::audioPrevious @ 0x14043fbcc // > @ 0x140927038 // // 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=2 void __fastcall MoreSearchLayer::selectSong(__int64 a1, int a2) { int v2; // edi __int64 v4; // rbx __int64 v5; // rbx struct cocos2d::CCString *v6; // rax void *v7; // rcx void *v8; // [rsp+30h] [rbp-38h] void *Block[2]; // [rsp+38h] [rbp-30h] BYREF __int64 v10; // [rsp+48h] [rbp-20h] unsigned __int64 v11; // [rsp+50h] [rbp-18h] v2 = a2; if ( a2 > 22 ) v2 = 22; if ( v2 < 1 ) v2 = 1; v4 = *(_QWORD *)&qword_14090BFB0; if ( !*(_QWORD *)&qword_14090BFB0 ) { v8 = operator new(0x690u); *(_QWORD *)&qword_14090BFB0 = GameLevelManager::GameLevelManager((__int64)v8); (*(void (__fastcall **)(_QWORD))(**(_QWORD **)&qword_14090BFB0 + 72LL))(*(_QWORD *)&qword_14090BFB0); v4 = *(_QWORD *)&qword_14090BFB0; } v10 = 11; v11 = 15; Block[0] = (void *)0x6C69665F676E6F73LL; Block[1] = (void *)7497076; v5 = *(_QWORD *)(v4 + 848); v6 = cocos2d::CCString::createWithFormat((const char *)&word_1406ED6F8, (unsigned int)v2); cocos2d::CCDictionary::setObject(v5, v6, Block); if ( v11 > 0xF ) { v7 = Block[0]; if ( v11 + 1 >= 0x1000 ) { v7 = *((void **)Block[0] - 1); if ( (unsigned __int64)((char *)Block[0] - (char *)v7 - 8) > 0x1F ) invoke_watson(nullptr, nullptr, nullptr, 0, 0); } j_j_free(v7); } MoreSearchLayer::updateAudioLabel(a1); }
GD Web Decomp Icon

GD Web Decomp

Raw Source