// // ProfilePage::setupPageInfo from 0x1403c6710 to 0x1403c687b (363 bytes) // // 2 xrefs: // > @ 0x1405cb240 // > @ 0x1406d78f8 // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // // Hidden C++ exception states: #wind=2 void __fastcall ProfilePage::setupPageInfo(_DWORD *a1, _QWORD *a2, const char *a3) { _BYTE *v5; // rdx size_t v6; // r8 cocos2d::CCArray *v7; // rdi void *v8; // rcx cocos2d::CCString *v9; // rax cocos2d::CCString *v10; // rax cocos2d::CCString *v11; // rax void *Block[2]; // [rsp+28h] [rbp-40h] BYREF __m128i si128; // [rsp+38h] [rbp-30h] if ( ProfilePage::isCorrect((ProfilePage *)(a1 - 160), a3) ) { v5 = a2; if ( a2[3] > 0xFu ) v5 = (_BYTE *)*a2; *(_OWORD *)Block = 0; si128 = 0; v6 = -1; do ++v6; while ( v5[v6] ); sub_14003A930(Block, v5, v6); v7 = sub_14013D520((__int64 *)Block); if ( si128.m128i_i64[1] > 0xFuLL ) { v8 = Block[0]; if ( (unsigned __int64)(si128.m128i_i64[1] + 1) >= 0x1000 ) { v8 = *((void **)Block[0] - 1); if ( (unsigned __int64)((char *)Block[0] - (char *)v8 - 8) > 0x1F ) invalid_parameter_noinfo_noreturn(); } j_j_free(v8); } si128 = _mm_load_si128((const __m128i *)&xmmword_140623F30); LOBYTE(Block[0]) = 0; if ( cocos2d::CCArray::count(v7) >= 3 ) { v9 = (cocos2d::CCString *)cocos2d::CCArray::objectAtIndex(v7, 0); a1[42] = cocos2d::CCString::intValue(v9); v10 = (cocos2d::CCString *)cocos2d::CCArray::objectAtIndex(v7, 1u); a1[43] = cocos2d::CCString::intValue(v10); v11 = (cocos2d::CCString *)cocos2d::CCArray::objectAtIndex(v7, 2u); a1[44] = cocos2d::CCString::intValue(v11); ProfilePage::updatePageArrows((ProfilePage *)(a1 - 160)); } } sub_14003A830((__int64)a2); }
GD Web Decomp Icon

GD Web Decomp

Raw Source