// // sub_1006678A0 from 0x1006678a0 to 0x1006678f4 (84 bytes) // // 0 xrefs: // // 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 // unsigned __int64 __fastcall sub_1006678A0(unsigned int *a1, unsigned int *a2) { unsigned __int64 v2; // r12 cocos2d::CCObject *v3; // r15 __int64 v4; // rcx unsigned __int64 result; // rax if ( *a2 ) { v2 = 0; do { v3 = *(cocos2d::CCObject **)(*((_QWORD *)a2 + 2) + 8 * v2); cocos2d::CCObject::retain(v3); v4 = *a1; *(_QWORD *)(*((_QWORD *)a1 + 2) + 8 * v4) = v3; *a1 = v4 + 1; ++v2; result = *a2; } while ( v2 < result ); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source