// // cocos2d::CCTileMapAtlas::setTile from 0x1800aec70 to 0x1800aedb0 (320 bytes) // // 2 xrefs: // > @ 0x18014cf68 // > @ 0x1801c2334 // // 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:22:18 +0000 // // Hidden C++ exception states: #wind=1 void __fastcall cocos2d::CCTileMapAtlas::setTile( cocos2d::CCTileMapAtlas *this, const struct cocos2d::_ccColor3B *a2, const struct cocos2d::CCPoint *a3) { __int64 v6; // r8 __int64 v7; // rdx __int64 v8; // rcx cocos2d::CCString *v9; // rax char *CString; // rax __int64 v11; // rbp void *v12; // r8 void *Block[2]; // [rsp+38h] [rbp-40h] BYREF __m128i si128; // [rsp+48h] [rbp-30h] v6 = *((_QWORD *)this + 51); v7 = 3LL * (unsigned int)(int)(float)((float)((float)*(__int16 *)(v6 + 6) * *((float *)a3 + 1)) + *(float *)a3); v8 = *(_QWORD *)(v6 + 16); if ( *(_BYTE *)(v7 + v8) ) { *(_WORD *)(v7 + v8) = *(_WORD *)a2; *(_BYTE *)(v7 + v8 + 2) = *((_BYTE *)a2 + 2); v9 = cocos2d::CCString::createWithFormat("%ld,%ld", (int)*(float *)a3, (int)*((float *)a3 + 1)); CString = (char *)cocos2d::CCString::getCString(v9); sub_180005A10(Block, CString); v11 = cocos2d::CCDictionary::objectForKey(*((_QWORD *)this + 52), (__int64)Block); if ( si128.m128i_i64[1] > 0xFuLL ) { v12 = Block[0]; if ( (unsigned __int64)(si128.m128i_i64[1] + 1) >= 0x1000 ) { v12 = *((void **)Block[0] - 1); if ( (unsigned __int64)((char *)Block[0] - (char *)v12 - 8) > 0x1F ) invoke_watson(nullptr, nullptr, nullptr, 0, 0); } j_j_free_0(v12); } si128 = _mm_load_si128((const __m128i *)&xmmword_1800EC500); LOBYTE(Block[0]) = 0; cocos2d::CCTileMapAtlas::updateAtlasValueAt(this, a3, a2, *(_DWORD *)(v11 + 56)); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source