// // SelectFontLayer2::loadPreviewSheet from 0x7a1af0 to 0x7a1b72 (130 bytes) // // 1 xrefs: // > SelectFontLayer2::init @ 0x7a1d84 // // 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:59:54 +0000 // void __fastcall SelectFontLayer2::loadPreviewSheet(SelectFontLayer2 *this) { int v1; // r6 int v3; // r0 cocos2d::CCSpriteFrameCache *v4; // r0 cocos2d::CCSpriteFrameCache *v5; // r0 _BYTE v6[4]; // [sp+0h] [bp-14h] BYREF int v7; // [sp+4h] [bp-10h] void *v8; // [sp+8h] [bp-Ch] v1 = *((unsigned __int8 *)this + 532); if ( !*((_BYTE *)this + 532) ) { v3 = cocos2d::CCFileUtils::sharedFileUtils(this); v4 = (cocos2d::CCSpriteFrameCache *)(*(int (__fastcall **)(_BYTE *, int, const char *, int))(*(_DWORD *)v3 + 24))( v6, v3, "GJ_FontSheet.png", v1); if ( (v6[0] & 1) != 0 ) { if ( !v7 ) { LABEL_7: operator delete(v8); return; } } else if ( !(v6[0] >> 1) ) { return; } v5 = (cocos2d::CCSpriteFrameCache *)cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache(v4); cocos2d::CCSpriteFrameCache::addSpriteFramesWithFile(v5, "GJ_FontSheet.plist"); *((_BYTE *)this + 532) = 1; if ( (v6[0] & 1) == 0 ) return; goto LABEL_7; } }
GD Web Decomp Icon

GD Web Decomp

Raw Source