// // sub_1800A1380 from 0x1800a1380 to 0x1800a13f6 (118 bytes) // // 3 xrefs: // > cocos2d::CCNode::addChild @ 0x180002c01 // > cocos2d::CCNode::insertChild @ 0x18000374b // > @ 0x1801c1698 // // 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_1800A1380(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_1800A1D70(a1); cocos2d::CCObject::retain(a2); *(_QWORD *)(*((_QWORD *)a1 + 2) + 8LL * *a1) = a2; result = *a1; *((_DWORD *)a2 + 9) = result; ++*a1; return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source