// // sub_1001151C0 from 0x1001151c0 to 0x100115244 (132 bytes) // // 1 xrefs: // > cocos2d::CCTextureCache::addImageAsync @ 0x100113614 // // 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 // _QWORD *__fastcall sub_1001151C0(_QWORD *result, _QWORD *a2) { _QWORD *v3; // x19 __int64 v4; // x9 __int64 v5; // x8 __int64 v6; // x11 __int64 v7; // x9 unsigned __int64 v8; // x10 v3 = result; v4 = result[2]; v5 = result[1]; if ( v4 == v5 ) v6 = 0; else v6 = ((v4 - v5) << 6) - 1; v7 = result[5]; v8 = v7 + result[4]; if ( v6 == v8 ) { result = (_QWORD *)sub_100115244(result); v5 = v3[1]; v7 = v3[5]; v8 = v3[4] + v7; } *(_QWORD *)(*(_QWORD *)(v5 + ((v8 >> 6) & 0x3FFFFFFFFFFFFF8LL)) + 8 * (v8 & 0x1FF)) = *a2; v3[5] = v7 + 1; return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source