//
// GJObjectDecoder::sharedDecoder from 0x825310 to 0x8253a4 (148 bytes)
//
// 3 xrefs:
// > AppDelegate::applicationDidFinishLaunching @ 0x5be0c8
// > GameManager::dataLoaded @ 0x5fa8c0
// > ??> @ 0xc7470
//
// 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
//
GJObjectDecoder *GJObjectDecoder::sharedDecoder()
{
GJObjectDecoder *result; // x0
GJObjectDecoder *v1; // x20
result = (GJObjectDecoder *)qword_1242B70;
if ( !qword_1242B70 )
{
v1 = (GJObjectDecoder *)operator new(0x148u);
memset(v1, 0, sizeof(GJObjectDecoder));
cocos2d::CCNode::CCNode(v1);
qword_1242B70 = (__int64)v1;
v1->cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable = (GJObjectDecoder_vtbl *)&off_1188AF0;
v1->ObjectDecoderDelegate::__vftable = (ObjectDecoderDelegate_vtbl *)&off_1188E78;
GJObjectDecoder::init(v1);
return (GJObjectDecoder *)qword_1242B70;
}
return result;
}