// // GJBigSprite::finishedLoadingSpriteAsync from 0x50ed64 to 0x50ee30 (204 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 GJBigSprite::finishedLoadingSpriteAsync(GJBigSprite *a1, cocos2d::CCObject *a2) { unsigned int v3; // r8 int v4; // r0 const char *v5; // r1 int v6; // r4 int v7; // r0 cocos2d::CCNode *v8; // r5 void (__fastcall *setPosition)(cocos2d::CCNode *__hidden, const cocos2d::CCPoint *); // r8 int v10; // r0 cocos2d::CCNode_vtbl *v11; // r3 const char *v12[2]; // [sp+0h] [bp-8h] BYREF v12[0] = (const char *)a1; v12[1] = (const char *)a2; v3 = a2->getTag(a2); v4 = cocos2d::CCArray::objectAtIndex(a1->m_spriteNodes, v3); v6 = v4; if ( *(_BYTE *)(v4 + 288) ) { v7 = *(_DWORD *)(v4 + 268); if ( v7 && (*(int (__fastcall **)(int))(*(_DWORD *)v7 + 32))(v7) == -1 ) { (*(void (__fastcall **)(_DWORD))(**(_DWORD **)(v6 + 268) + 260))(*(_DWORD *)(v6 + 268)); *(_DWORD *)(v6 + 268) = 0; } if ( !*(_DWORD *)(v6 + 268) ) { v8 = (cocos2d::CCNode *)cocos2d::CCSprite::create(*(cocos2d::CCSprite **)(v6 + 264), v5); setPosition = v8->setPosition; v10 = (*(int (__fastcall **)(int))(*(_DWORD *)v6 + 96))(v6); setPosition(v8, (const cocos2d::CCPoint *)v10); a1->addChild(a1, v8); v11 = v8->__vftable; *(_DWORD *)(v6 + 268) = v8; ((void (__fastcall *)(cocos2d::CCNode *, int))v11->setScale)(v8, 1065369993); } } else { sub_775C20(v12); GJBigSprite::unloadSprite((int)a1, v12, v3); sub_774008(v12); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source