//
// GJGarageLayer::dGJGarageLayer from 0x100301994 to 0x100301a54 (192 bytes)
//
// 4 xrefs:
// > j_GJGarageLayer::dGJGarageLayer @ 0x100301a58
// > sub_100301A5C @ 0x100301a60
// > sub_100301A64 @ 0x100301a6c
// > sub_100301A78 @ 0x100301a84
//
// 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
//
__int64 __fastcall GJGarageLayer::dGJGarageLayer(RewardedVideoDelegate *a1)
{
cocos2d::CCObject *v2; // x0
cocos2d::CCObject *v3; // x0
a1->__vftable = (RewardedVideoDelegate_vtbl *)off_1007EBBB0;
a1[40].__vftable = (RewardedVideoDelegate_vtbl *)off_1007EC080;
a1[41].__vftable = (RewardedVideoDelegate_vtbl *)&off_1007EC0F0;
a1[42].__vftable = (RewardedVideoDelegate_vtbl *)off_1007EC108;
a1[43].__vftable = (RewardedVideoDelegate_vtbl *)&off_1007EC128;
a1[44].__vftable = (RewardedVideoDelegate_vtbl *)off_1007EC148;
a1[51].__vftable = (RewardedVideoDelegate_vtbl *)off_1007EC170;
a1[52].__vftable = (RewardedVideoDelegate_vtbl *)&off_1007EC1B8;
a1[53].__vftable = (RewardedVideoDelegate_vtbl *)&off_1007EC1D0;
a1[54].__vftable = (RewardedVideoDelegate_vtbl *)&off_1007EC1E8;
a1[55].__vftable = (RewardedVideoDelegate_vtbl *)&off_1007EC200;
a1[56].__vftable = (RewardedVideoDelegate_vtbl *)off_1007EC218;
a1[57].__vftable = (RewardedVideoDelegate_vtbl *)off_1007EC238;
GameManager::sharedState()->m_gameRateDelegate1 = nullptr;
v2 = (cocos2d::CCObject *)a1[60].__vftable;
if ( v2 )
cocos2d::CCObject::release(v2);
v3 = (cocos2d::CCObject *)a1[61].__vftable;
if ( v3 )
cocos2d::CCObject::release(v3);
if ( GameManager::sharedState()->m_rewardedVideoDelegate == &a1[57] )
GameManager::sharedState()->m_rewardedVideoDelegate = nullptr;
sub_100017D70((__int64)&a1[65], &a1[66].rewardedVideoFinished);
return cocos2d::CCLayer::dCCLayer(a1);
}