// // GJBigSprite::loadSpriteAsync from 0x50ec34 to 0x50ec82 (78 bytes) // // 1 xrefs: // > GJBigSprite::updateSpriteVisibility @ 0x50f04c // // 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(cocos2d::CCObject *a1, const char **a2, unsigned int a3) { unsigned int m_uID; // r0 unsigned int v5; // r7 char v6; // r3 int v8; // r2 int v9; // r3 cocos2d::CCTextureCache *v11; // r0 cocos2d::SEL_MenuHandler v12; // 0:r3.4,4:^0.4 m_uID = a1[5].m_uID; v5 = a3 >> 5; v6 = a3 & 0x1F; v8 = *(_DWORD *)(m_uID + 4 * (a3 >> 5)); v9 = 1 << v6; if ( (v8 & v9) == 0 ) { *(_DWORD *)(m_uID + 4 * v5) = v9 | v8; v11 = cocos2d::CCTextureCache::sharedTextureCache(); v12.ptr = (void (__cdecl *)(cocos2d::CCObject *))GJBigSprite::finishedLoadingSpriteAsync; v12.adj = 0; cocos2d::CCTextureCache::addImageAsync(v11, *a2, a1, v12, a3, kCCTexture2DPixelFormat_RGB888); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source