// // GJBigSprite::finishedLoadingSpriteAsync from 0x6400b4 to 0x64018e (218 bytes) // // 0 xrefs: // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // 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 11:55:27 +0000 // int __fastcall GJBigSprite::finishedLoadingSpriteAsync(cocos2d::CCArray **this, cocos2d::CCObject *a2, int a3, int a4) { unsigned int v5; // r8 int v6; // r0 const char *v7; // r1 int v8; // r4 int result; // r0 cocos2d::CCSprite *v10; // r0 int v11; // r5 void (__fastcall *v12)(int, int); // r8 int v13; // r0 int v14[4]; // [sp+0h] [bp-10h] BYREF v14[0] = (int)this; v14[1] = (int)a2; v14[2] = a3; v14[3] = a4; v5 = (*(int (__fastcall **)(cocos2d::CCObject *))(*(_DWORD *)a2 + 32))(a2); v6 = cocos2d::CCArray::objectAtIndex(*(this + 69), v5); v8 = v6; if ( *(_BYTE *)(v6 + 296) ) { result = *(_DWORD *)(v6 + 276); if ( result ) { result = (*(int (__fastcall **)(int))(*(_DWORD *)result + 32))(result) + 1; if ( !result ) { result = (*(int (__fastcall **)(_DWORD))(**(_DWORD **)(v8 + 276) + 268))(*(_DWORD *)(v8 + 276)); *(_DWORD *)(v8 + 276) = 0; } } if ( !*(_DWORD *)(v8 + 276) ) { if ( (*(_BYTE *)(v8 + 264) & 1) != 0 ) v10 = *(cocos2d::CCSprite **)(v8 + 272); else v10 = (cocos2d::CCSprite *)(v8 + 265); v11 = cocos2d::CCSprite::create(v10, v7); v12 = *(void (__fastcall **)(int, int))(*(_DWORD *)v11 + 92); v13 = (*(int (__fastcall **)(int))(*(_DWORD *)v8 + 96))(v8); v12(v11, v13); (*((void (__fastcall **)(cocos2d::CCArray **, int))*this + 57))(this, v11); *(_DWORD *)(v8 + 276) = v11; return (*(int (__fastcall **)(int, int))(*(_DWORD *)v11 + 80))(v11, 1065369993); } } else { std::string::basic_string(v14, v6 + 264); GJBigSprite::unloadSprite((cocos2d::CCTextureCache *)this, (int)v14, v5); return std::string::~string((int)v14); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source