// // PlatformToolbox::spriteFromSavedFile from 0x2be568 to 0x2be658 (240 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 // int __fastcall PlatformToolbox::spriteFromSavedFile(char **a1) { const char *v2; // r1 int i; // r2 int v4; // r9 int v5; // r0 const char *v6; // r1 int v7; // r4 _BYTE v9[4]; // [sp+8h] [bp-14h] BYREF int v10; // [sp+Ch] [bp-10h] BYREF cocos2d::CCSprite *v11; // [sp+10h] [bp-Ch] BYREF if ( PlatformToolbox::isHD() ) { sub_776584((int)v9, *a1); sub_776584((int)&v10, ".png"); sub_776584((int)&v11, "-hd.png"); for ( i = 0; ; i = LODWORD(v11[-1].m_fTextureRight) + v4 ) { v4 = sub_774834(v9, &v10, i); if ( v4 == -1 ) break; sub_776454(v9, v4, *(_DWORD *)(v10 - 12), &v11); } sub_774008(&v11); sub_774008(&v10); sub_774794(a1, v9); sub_774008(v9); } v5 = cocos2d::CCSprite::create((cocos2d::CCSprite *)*a1, v2); if ( v5 ) return v5; sub_776584((int)&v11, "/data/data/com.robtopx.geometryjump/"); sub_77441C(&v11, a1); v7 = cocos2d::CCSprite::create(v11, v6); sub_774008(&v11); return v7; }
GD Web Decomp Icon

GD Web Decomp

Raw Source