// // GJSmartTemplate::create from 0x66e85c to 0x66e8d0 (116 bytes) // // 2 xrefs: // > GameLevelManager::createSmartTemplate @ 0x4aa8a6 // > GJSmartTemplate::createWithCoder @ 0x671574 // // 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:49 +0000 // cocos2d::CCObject *__fastcall GJSmartTemplate::create(GJSmartTemplate *this) { cocos2d::CCObject *v1; // r4 int v2; // r3 int *v3; // r0 v1 = (cocos2d::CCObject *)operator new(0x80u); cocos2d::CCObject::CCObject(v1); *((_DWORD *)v1 + 20) = (char *)v1 + 84; *(_DWORD *)v1 = &off_CD26F0; *((_DWORD *)v1 + 13) = 0; *((_DWORD *)v1 + 14) = 0; *((_DWORD *)v1 + 16) = 0; *((_DWORD *)v1 + 21) = 0; *((_DWORD *)v1 + 22) = 0; *((_BYTE *)v1 + 92) = 0; *((_BYTE *)v1 + 93) = 0; *((_BYTE *)v1 + 94) = 0; *((_BYTE *)v1 + 95) = 0; *((_DWORD *)v1 + 24) = 0; *((_DWORD *)v1 + 25) = 0; *((_DWORD *)v1 + 26) = 0; *((_DWORD *)v1 + 27) = 0; *((_DWORD *)v1 + 28) = 0; *((_DWORD *)v1 + 29) = 0; *((_DWORD *)v1 + 30) = 0; *((_DWORD *)v1 + 31) = 0; if ( GJSmartTemplate::init((cocos2d::CCObject **)v1) ) { cocos2d::CCObject::autorelease(v1); } else { v2 = *(_DWORD *)v1; v3 = (int *)v1; v1 = nullptr; (*(void (__fastcall **)(int *))(v2 + 8))(v3); } return v1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source