//
// GJObjectDecoder::sharedDecoder from 0x140283fc0 to 0x140284054 (148 bytes)
//
// 3 xrefs:
// > AppDelegate::applicationDidFinishLaunching @ 0x140082b18
// > GameManager::dataLoaded @ 0x140186ad1
// > ??> @ 0x1406d14f0
//
// 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
//
// Hidden C++ exception states: #wind=1
GJObjectDecoder *GJObjectDecoder::sharedDecoder()
{
GJObjectDecoder *result; // rax
cocos2d::CCNode *v1; // [rsp+30h] [rbp+8h]
result = (GJObjectDecoder *)qword_1406C2F08;
if ( !qword_1406C2F08 )
{
v1 = (cocos2d::CCNode *)operator new(0x148u);
memset(v1, 0, 0x148u);
cocos2d::CCNode::CCNode(v1);
v1->__vftable = (cocos2d::CCNode_vtbl *)&GJObjectDecoder::`vftable';
v1[1].__vftable = (cocos2d::CCNode_vtbl *)&GJObjectDecoder::`vftable';
qword_1406C2F08 = (__int64)v1;
cocos2d::CCNode::init(v1);
return (GJObjectDecoder *)qword_1406C2F08;
}
return result;
}