// // GJBigSprite::unloadAll from 0x50ecd8 to 0x50ed5e (134 bytes) // // 1 xrefs: // > MapSelectLayer::onExit @ 0x50fb3c // // 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::unloadAll(GJBigSprite *a1) { unsigned int v1; // r7 int v3; // r5 int v4; // r0 GJBigSprite *v5; // [sp+0h] [bp-Ch] BYREF v5 = a1; v1 = 0; a1->m_unloadingAll = 1; while ( v1 < cocos2d::CCArray::count(a1->m_spriteNodes) ) { v3 = cocos2d::CCArray::objectAtIndex(a1->m_spriteNodes, v1); *(_BYTE *)(v3 + 288) = 0; v4 = *(_DWORD *)(v3 + 268); if ( v4 ) { (*(void (__fastcall **)(int))(*(_DWORD *)v4 + 260))(v4); *(_DWORD *)(v3 + 268) = 0; sub_775C20(&v5); GJBigSprite::unloadSprite((int)a1, (const char **)&v5, v1); sub_774008(&v5); } ++v1; } }
GD Web Decomp Icon

GD Web Decomp

Raw Source