// // GJBigSprite::finishedLoadingSpriteAsync from 0xac31f4 to 0xac33a0 (428 bytes) // // 3 xrefs: // > @ 0x906e8 // > GJBigSprite::loadSpriteAsync @ 0xac23c0 // > @ 0x1543dc0 // // This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True! // // Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings // Generated at Fri, 27 Nov 2026 13:01:06 +0000 // __int64 __fastcall GJBigSprite::finishedLoadingSpriteAsync(cocos2d::CCArray **this, cocos2d::CCObject *a2) { unsigned int v3; // w22 __int64 v4; // x19 __int64 v5; // x0 const char *v6; // x1 cocos2d::CCSprite *v7; // x0 __int64 v8; // x22 void (__fastcall *v9)(__int64, __int64); // x23 __int64 v10; // x0 char v11; // w0 __int64 v12; // x19 __int64 v13; // x0 __int64 v14; // x1 __int64 v16; // [xsp+40h] [xbp+40h] BYREF __int64 v17; // [xsp+48h] [xbp+48h] void *v18; // [xsp+50h] [xbp+50h] v3 = (*(__int64 (__fastcall **)(cocos2d::CCObject *))(*(_QWORD *)a2 + 64LL))(a2); v4 = cocos2d::CCArray::objectAtIndex(*(this + 43), v3); if ( *(_BYTE *)(v4 + 368) ) { v5 = *(_QWORD *)(v4 + 344); if ( v5 ) { if ( (*(unsigned int (__fastcall **)(__int64))(*(_QWORD *)v5 + 64LL))(v5) == -1 ) { (*(void (__fastcall **)(_QWORD))(**(_QWORD **)(v4 + 344) + 536LL))(*(_QWORD *)(v4 + 344)); *(_QWORD *)(v4 + 344) = 0; } else if ( *(_QWORD *)(v4 + 344) ) { return _stack_chk_guard; } } v6 = (const char *)*(unsigned __int8 *)(v4 + 320); v7 = (cocos2d::CCSprite *)(v4 + 321); if ( ((unsigned __int8)v6 & 1) != 0 ) v7 = *(cocos2d::CCSprite **)(v4 + 336); v8 = cocos2d::CCSprite::create(v7, v6); v9 = *(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v8 + 184LL); v10 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v4 + 192LL))(v4); v9(v8, v10); (*((void (__fastcall **)(cocos2d::CCArray **, __int64))*this + 57))(this, v8); *(_QWORD *)(v4 + 344) = v8; (*(void (__fastcall **)(__int64, float))(*(_QWORD *)v8 + 160LL))(v8, 1.002); } else { v11 = *(_BYTE *)(v4 + 320); v16 = 0; v12 = v4 + 320; v17 = 0; v18 = nullptr; if ( (v11 & 1) != 0 ) { std::string::__init(&v16, *(void **)(v12 + 16), *(_QWORD *)(v12 + 8)); } else { v13 = *(_QWORD *)v12; v14 = *(_QWORD *)(v12 + 8); v18 = *(void **)(v12 + 16); v16 = v13; v17 = v14; } GJBigSprite::unloadSprite((cocos2d::CCTextureCache *)this, (__int64)&v16, v3); if ( (v16 & 1) != 0 ) operator delete(v18); } return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source