// // TopArtistsLayer::setupPageInfo from 0x14066e970 to 0x14066eb69 (505 bytes) // // 2 xrefs: // > @ 0x140833528 // > @ 0x140932228 // // 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:53 +0000 // // Hidden C++ exception states: #wind=2 void __fastcall TopArtistsLayer::setupPageInfo(__int64 a1, _QWORD *a2) { __int64 v2; // rbx size_t v4; // r8 cocos2d::CCArray *v5; // rsi void *v6; // r8 cocos2d::CCString *v7; // rax cocos2d::CCString *v8; // rax cocos2d::CCString *v9; // rax __int64 v10; // rdx __int64 v11; // rdx int v12; // r9d int v13; // edx int v14; // r8d cocos2d::CCString *v15; // rax const char *CString; // rax void *Block[2]; // [rsp+38h] [rbp-30h] BYREF __m128i si128; // [rsp+48h] [rbp-20h] v2 = (__int64)a2; if ( a2[3] > 0xFu ) a2 = (_QWORD *)*a2; *(_OWORD *)Block = 0; si128 = 0; v4 = -1; do ++v4; while ( *((_BYTE *)a2 + v4) ); sub_14003D230(Block, a2, v4); v5 = sub_14020EFC0((__int64 *)Block); if ( si128.m128i_i64[1] > 0xFuLL ) { v6 = Block[0]; if ( (unsigned __int64)(si128.m128i_i64[1] + 1) >= 0x1000 ) { v6 = *((void **)Block[0] - 1); if ( (unsigned __int64)((char *)Block[0] - (char *)v6 - 8) > 0x1F ) invoke_watson(nullptr, nullptr, nullptr, 0, 0); } j_j_free(v6); } si128 = _mm_load_si128((const __m128i *)&Size); LOBYTE(Block[0]) = 0; if ( cocos2d::CCArray::count(v5) >= 3 ) { v7 = cocos2d::CCArray::objectAtIndex(v5, 0); *(_DWORD *)(a1 + 64) = cocos2d::CCString::intValue(v7); v8 = cocos2d::CCArray::objectAtIndex(v5, 1u); *(_DWORD *)(a1 + 68) = cocos2d::CCString::intValue(v8); v9 = cocos2d::CCArray::objectAtIndex(v5, 2u); *(_DWORD *)(a1 + 72) = cocos2d::CCString::intValue(v9); if ( *(_DWORD *)(a1 + 68) ) LOBYTE(v10) = 1; else v10 = 0; (*(void (__fastcall **)(_QWORD, __int64))(**(_QWORD **)(a1 + 40) + 336LL))(*(_QWORD *)(a1 + 40), v10); if ( *(_DWORD *)(a1 + 72) + *(_DWORD *)(a1 + 68) < *(_DWORD *)(a1 + 64) ) LOBYTE(v11) = 1; else v11 = 0; (*(void (__fastcall **)(_QWORD, __int64))(**(_QWORD **)(a1 + 32) + 336LL))(*(_QWORD *)(a1 + 32), v11); v12 = *(_DWORD *)(a1 + 64); v13 = *(_DWORD *)(a1 + 68); v14 = v13 + *(_DWORD *)(a1 + 72); if ( v14 >= v12 ) v14 = *(_DWORD *)(a1 + 64); v15 = cocos2d::CCString::createWithFormat("%i to %i of %i", v13 + 1, v14, v12); CString = cocos2d::CCString::getCString(v15); (**(void (__fastcall ***)(__int64, const char *))(*(_QWORD *)(a1 + 56) + 360LL))( *(_QWORD *)(a1 + 56) + 360LL, CString); cocos2d::CCLabelBMFont::limitLabelWidth(*(cocos2d::CCLabelBMFont **)(a1 + 56), 100.0, 0.5, 0.0); } sub_14003D310(v2); }
GD Web Decomp Icon

GD Web Decomp

Raw Source