// // sub_1800A11D0 from 0x1800a11d0 to 0x1800a126e (158 bytes) // // 3 xrefs: // > cocos2d::CCArray::addObjectsFromArray @ 0x1800069e8 // > cocos2d::CCArray::initWithArray @ 0x1800070bd // > @ 0x1801c1668 // // 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 // void __fastcall sub_1800A11D0(unsigned int *a1, int *a2) { int v2; // edi unsigned int i; // edx void *v6; // rcx __int64 j; // rsi cocos2d::CCObject *v8; // rdi v2 = *a2; for ( i = a1[1]; i < v2 + *a1; i = a1[1] ) { v6 = *((void **)a1 + 2); a1[1] = 2 * i; *((_QWORD *)a1 + 2) = realloc(v6, 16LL * i); } for ( j = 0; (unsigned int)j < *a2; ++*a1 ) { v8 = *(cocos2d::CCObject **)(*((_QWORD *)a2 + 2) + 8 * j); cocos2d::CCObject::retain(v8); j = (unsigned int)(j + 1); *(_QWORD *)(*((_QWORD *)a1 + 2) + 8LL * *a1) = v8; } }
GD Web Decomp Icon

GD Web Decomp

Raw Source