// // sub_18009D6F0 from 0x18009d6f0 to 0x18009d766 (118 bytes) // // 3 xrefs: // > cocos2d::CCNode::addChild @ 0x180002c31 // > cocos2d::CCNode::insertChild @ 0x1800036cb // > @ 0x1801b73f8 // // 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 sub_18009D6F0(unsigned int *a1, cocos2d::CCObject *a2) { unsigned int i; // ecx unsigned int v5; // eax void *v6; // rcx __int64 result; // rax for ( i = a1[1]; i < *a1 + 1; i = a1[1] ) { v5 = 2 * i; v6 = *((void **)a1 + 2); a1[1] = v5; *((_QWORD *)a1 + 2) = realloc(v6, 8LL * v5); } sub_18009E0E0(a1); cocos2d::CCObject::retain(a2); *(_QWORD *)(*((_QWORD *)a1 + 2) + 8LL * *a1) = a2; result = *a1; a2->m_uUnknown = result; ++*a1; return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source