//
// cocos2d::CCObject::CCObject from 0x10008e930 to 0x10008e978 (72 bytes)
//
// 117 xrefs:
// > GJSmartTemplate::create @ 0x100004348
// > GJSmartPrefab::create @ 0x100004634
// > sub_10000C368 @ 0x10000c388
// > cocos2d::CCStandardTouchHandler::handlerWithDelegate @ 0x10000c670
// > cocos2d::CCTargetedTouchHandler::handlerWithDelegate @ 0x10000c70c
// > sub_10000D6D0 @ 0x10000d6f4
// > sub_100012D98 @ 0x100012db0
// > sub_100017F10 @ 0x100017f18
// > cocos2d::CCImage::CCImage @ 0x10002e8f0
// > TableViewCell::TableViewCell @ 0x100037800
// > cocos2d::CCKeypadHandler::handlerWithDelegate @ 0x100053df0
// > sub_100066B20 @ 0x100066b50
// > cocos2d::CCMouseHandler::handlerWithDelegate @ 0x10008e8cc
// > DialogObject::create @ 0x10008fa60
// > sub_10009104C @ 0x100091090
// > GameLevelManager::ProcessHttpRequest @ 0x10009135c
// > sub_1000C33B4 @ 0x1000c33cc
// > sub_1000C3690 @ 0x1000c36a8
// > sub_1000C3C0C @ 0x1000c3c24
// > sub_1000C3EEC @ 0x1000c3f04
// > sub_1000C5868 @ 0x1000c5880
// > sub_1000C758C @ 0x1000c75cc
// > sub_1000D4E38 @ 0x1000d4e5c
// > sub_1000D8048 @ 0x1000d8060
// > sub_100136FC8 @ 0x100136ffc
// > sub_1001378E0 @ 0x100137908
// > cocos2d::CCTextureCache::CCTextureCache @ 0x10013bcec
// > sub_100145068 @ 0x100145084
// > cocos2d::CCShaderCache::sharedShaderCache @ 0x100151da8
// > GJKeybindManager::sharedState @ 0x10018b0f8
// > cocos2d::CCTexture2D::CCTexture2D @ 0x1001aad60
// > cocos2d::CCGLProgram::CCGLProgram @ 0x1001b338c
// > MusicDownloadManager::ProcessHttpRequest @ 0x1001d2070
// > MusicDownloadManager::ProcessHttpGetRequest @ 0x1001d22d4
// > sub_1001D47BC @ 0x1001d47e4
// > MusicDownloadManager::downloadSong @ 0x1001d4efc
// > sub_1001D6418 @ 0x1001d6444
// > sub_1001D6D7C @ 0x1001d6db4
// > sub_1001DDD44 @ 0x1001ddd6c
// > sub_1001DDDC4 @ 0x1001dddf0
// > sub_1001DFBEC @ 0x1001dfc14
// > sub_1001E3C78 @ 0x1001e3c94
// > sub_1001E5038 @ 0x1001e5054
// > cocos2d::CCDirector::CCDirector @ 0x1002064ac
// > cocos2d::CCDirector::init @ 0x100206608
// > cocos2d::CCTextureETC::CCTextureETC @ 0x1002299b4
// > cocos2d::CCCamera::CCCamera @ 0x100233200
// > cocos2d::CCAnimationFrame::copyWithZone @ 0x100238ee4
// > sub_100238FAC @ 0x100238fc4
// > cocos2d::CCAnimation::createWithSpriteFrames @ 0x10023904c
// > cocos2d::CCAnimation::initWithSpriteFrames @ 0x100239134
// > cocos2d::CCAnimation::create @ 0x1002391f8
// > sub_100239338 @ 0x10023935c
// > cocos2d::CCAnimation::copyWithZone @ 0x10023942c
// > cocos2d::CCScheduler::CCScheduler @ 0x10023efa0
// > cocos2d::CCScheduler::scheduleSelector @ 0x10023f5f4
// > cocos2d::CCSet::CCSet @ 0x100241000
// > sub_100241054 @ 0x10024106c
// > sub_100242310 @ 0x100242320
// > cocos2d::CCAutoreleasePool::CCAutoreleasePool @ 0x100244f18
// > CCAnimateFrameCache::sharedSpriteFrameCache @ 0x100245384
// > sub_100245B88 @ 0x100245b98
// > GJMultiplayerManager::ProcessHttpRequest @ 0x100266464
// > cocos2d::CCAnimationCache::sharedAnimationCache @ 0x10026c130
// > cocos2d::extension::CCInvocation::create @ 0x1002b08d0
// > sub_1002B34CC @ 0x1002b34e8
// > sub_1002D2298 @ 0x1002d22c0
// > cocos2d::CCKeyboardDispatcher::CCKeyboardDispatcher @ 0x1002d6418
// > cocos2d::CCNode::CCNode @ 0x1002d7d14
// > cocos2d::extension::CCHttpClient::CCHttpClient @ 0x1002ddd44
// > sub_1002DF340 @ 0x1002df358
// > sub_1002E72A4 @ 0x1002e72b4
// > cocos2d::CCSpriteFrame::createWithTexture @ 0x1002eb224
// > cocos2d::CCSpriteFrame::copyWithZone @ 0x1002eb640
// > cocos2d::CCAction::CCAction @ 0x100302aa8
// > cocos2d::CCAction::copyWithZone @ 0x100302b48
// > sub_1003060CC @ 0x1003060e0
// > sub_100306120 @ 0x100306134
// > sub_100306780 @ 0x100306790
// > sub_100306C0C @ 0x100306c3c
// > cocos2d::CCTextureAtlas::CCTextureAtlas @ 0x100307b88
// > cocos2d::CCTouchScriptHandlerEntry::create @ 0x1003114a4
// > sub_10037EE84 @ 0x10037eeb8
// > cocos2d::CCEGLViewProtocol::handleTouchesBegin @ 0x100381f18
// > sub_100382454 @ 0x100382464
// > sub_10038FC08 @ 0x10038fc2c
// > sub_10038FE14 @ 0x10038fe48
// > cocos2d::CCActionManager::CCActionManager @ 0x1003908ac
// > cocos2d::CCBMFontConfiguration::create @ 0x100395788
// > cocos2d::CCMouseDispatcher::CCMouseDispatcher @ 0x10039aa48
// > sub_10039B5A8 @ 0x10039b5cc
// > TableView::deleteTableViewCell @ 0x10039b810
// > TableView::deleteTableViewCell @ 0x10039b8d0
// > TableView::deleteTableViewCell @ 0x10039b8e8
// > sub_10039C044 @ 0x10039c300
// > sub_10039C044 @ 0x10039c31c
// > CCURLObject::create @ 0x1003ae8f0
// > sub_1003C25B8 @ 0x1003c25d4
// > cocos2d::CCConfiguration::sharedConfiguration @ 0x1003c2c98
// > sub_1003C98F8 @ 0x1003c9920
// > GJRewardObject::create @ 0x1003d122c
// > GJRewardItem::create @ 0x1003d13a8
// > GJChallengeItem::create @ 0x1003ded00
// > sub_1003FC41C @ 0x1003fc448
// > sub_10041110C @ 0x10041111c
// > cocos2d::CCTexturePVR::CCTexturePVR @ 0x1004150f8
// > GJAccountManager::ProcessHttpRequest @ 0x100444fb4
// > cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache @ 0x100462bbc
// > cocos2d::CCSpriteFrameCache::addSpriteFramesWithDictionary @ 0x100463098
// > cocos2d::CCSpriteFrameCache::addSpriteFramesWithDictionary @ 0x1004632c8
// > cocos2d::CCSpriteFrameCache::addSpriteFramesWithDictionary @ 0x1004633ec
// > CCContentManager::sharedManager @ 0x100493528
// > cocos2d::CCDictionary::CCDictionary @ 0x1004a4b9c
// > cocos2d::CCDictionary::allKeys @ 0x1004a4e20
// > cocos2d::CCDictionary::copyWithZone @ 0x1004a67bc
// > cocos2d::CCDictionary::create @ 0x1004a68d0
// > sub_1004EFDBC @ 0x1004efdf0
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// 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 10:58:22 +0000
//
__int64 __fastcall cocos2d::CCObject::CCObject(__int64 result)
{
int v1; // w9
*(_QWORD *)result = &off_1008CAC18;
*(_OWORD *)(result + 12) = xmmword_10075D780;
*(_QWORD *)(result + 32) = -1;
*(_QWORD *)(result + 48) = 0;
*(_DWORD *)(result + 44) = 0;
if ( (unsigned int)dword_1009F38B0 <= 0xFFFFFFFD )
v1 = dword_1009F38B0 + 1;
else
v1 = 1;
dword_1009F38B0 = v1;
*(_DWORD *)(result + 8) = v1;
return result;
}