// // SFXBrowser::updatePageLabel from 0x1406203b0 to 0x14062058a (474 bytes) // // 2 xrefs: // > SFXBrowser::setupList @ 0x14061a44c // > @ 0x140930410 // // 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:35:22 +0000 // // Hidden C++ exception states: #wind=1 void __fastcall SFXBrowser::updatePageLabel(__int64 a1) { int v2; // eax int v3; // ebx int v4; // ebp unsigned __int64 v5; // rcx int v6; // edx int v7; // r8d cocos2d::CCString *v8; // rax char *CString; // rax size_t v10; // r8 void **v11; // rdx __int64 v12; // rdx __int64 v13; // rdx void *v14; // rcx void *Block[2]; // [rsp+30h] [rbp-38h] BYREF __int64 v16; // [rsp+40h] [rbp-28h] unsigned __int64 v17; // [rsp+48h] [rbp-20h] v2 = cocos2d::CCArray::count(*(cocos2d::CCArray **)(*(_QWORD *)(a1 + 712) + 64LL)); v3 = v2; v4 = 0; if ( v2 > 0 ) v4 = (int)ceilf((float)((v2 - 1) / *(_DWORD *)(a1 + 1096))); *(_OWORD *)Block = 0; v16 = 0; v5 = 15; v17 = 15; LOBYTE(Block[0]) = 0; if ( v3 <= 0 ) { v16 = 10; strcpy((char *)Block, "No matches"); } else { v6 = *(_DWORD *)(*(_QWORD *)(a1 + 712) + 96LL) * *(_DWORD *)(a1 + 1096); v7 = v3; if ( v6 + *(_DWORD *)(a1 + 1096) < v3 ) v7 = v6 + *(_DWORD *)(a1 + 1096); v8 = cocos2d::CCString::createWithFormat("%i to %i of %i", v6 + 1, v7, v3); CString = (char *)cocos2d::CCString::getCString(v8); v10 = -1; do ++v10; while ( CString[v10] ); sub_1400405A0(Block, CString, v10); v5 = v17; } v11 = Block; if ( v5 > 0xF ) v11 = (void **)Block[0]; (**(void (__fastcall ***)(__int64, void **))(*(_QWORD *)(a1 + 800) + 360LL))(*(_QWORD *)(a1 + 800) + 360LL, v11); LOBYTE(v12) = *(_DWORD *)(*(_QWORD *)(a1 + 712) + 96LL) > 0; (*(void (__fastcall **)(_QWORD, __int64))(**(_QWORD **)(a1 + 808) + 336LL))(*(_QWORD *)(a1 + 808), v12); LOBYTE(v13) = *(_DWORD *)(*(_QWORD *)(a1 + 712) + 96LL) < v4; (*(void (__fastcall **)(_QWORD, __int64))(**(_QWORD **)(a1 + 816) + 336LL))(*(_QWORD *)(a1 + 816), v13); if ( v17 > 0xF ) { v14 = Block[0]; if ( v17 + 1 >= 0x1000 ) { v14 = *((void **)Block[0] - 1); if ( (unsigned __int64)((char *)Block[0] - (char *)v14 - 8) > 0x1F ) invoke_watson(nullptr, nullptr, nullptr, 0, 0); } j_j_free(v14); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source