// // sub_1800A12A0 from 0x1800a12a0 to 0x1800a1309 (105 bytes) // // 13 xrefs: // > cocos2d::CCNode::addChild @ 0x180002c08 // > cocos2d::CCNode::insertChild @ 0x180003752 // > cocos2d::CCArray::addObject @ 0x1800069c4 // > cocos2d::CCArray::copyWithZone @ 0x180006ac7 // > cocos2d::CCArray::create @ 0x180006b4a // > cocos2d::CCArray::create @ 0x180006b67 // > cocos2d::CCArray::createWithObject @ 0x180006f6a // > cocos2d::CCArray::initWithObject @ 0x180007144 // > cocos2d::CCArray::initWithObjects @ 0x180007197 // > cocos2d::CCArray::initWithObjects @ 0x1800071b6 // > cocos2d::CCParallaxNode::addChild @ 0x1800ae3d8 // > @ 0x1801c1674 // > @ 0x1801c1680 // // This function is hookable on this platform (idp: pc, 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 11:22:13 +0000 // __int64 __fastcall sub_1800A12A0(__int64 a1, cocos2d::CCObject *a2) { unsigned int i; // ecx unsigned int v5; // eax void *v6; // rcx __int64 result; // rax for ( i = *(_DWORD *)(a1 + 4); i < *(_DWORD *)a1 + 1; i = *(_DWORD *)(a1 + 4) ) { v5 = 2 * i; v6 = *(void **)(a1 + 16); *(_DWORD *)(a1 + 4) = v5; *(_QWORD *)(a1 + 16) = realloc(v6, 8LL * v5); } cocos2d::CCObject::retain(a2); result = *(_QWORD *)(a1 + 16); *(_QWORD *)(result + 8LL * (unsigned int)(*(_DWORD *)a1)++) = a2; return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source