// // GJBigSprite::loadSpriteAsync from 0x10026a350 to 0x10026a3cd (125 bytes) // // 0 xrefs: // // 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 // void __fastcall GJBigSprite::loadSpriteAsync(__int64 a1, __int64 a2, int a3) { unsigned __int64 v4; // rcx __int64 v5; // rax __int64 v6; // rdx __int64 v7; // r8 cocos2d::CCTextureCache *v8; // rax const char *v9; // rsi v4 = a3; v5 = *(_QWORD *)(a1 + 320); v6 = 1LL << a3; v7 = *(_QWORD *)(v5 + 8 * (v4 >> 6)); if ( !_bittest64(&v7, v4) ) { *(_QWORD *)(v5 + 8 * (v4 >> 6)) = v6 | v7; v8 = cocos2d::CCTextureCache::sharedTextureCache(); if ( (*(_BYTE *)a2 & 1) != 0 ) v9 = *(const char **)(a2 + 16); else v9 = (const char *)(a2 + 1); cocos2d::CCTextureCache::addImageAsync( v8, v9, (cocos2d::CCObject *)a1, (cocos2d::SEL_MenuHandler)(unsigned __int64)GJBigSprite::finishedLoadingSpriteAsync, a3, kCCTexture2DPixelFormat_RGB888); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source