// // cocos2d::CCArray::initWithObjects from 0x5c202c to 0x5c207c (80 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 // int cocos2d::CCArray::initWithObjects(cocos2d::CCArray *this, cocos2d::_ccArray **a2, ...) { cocos2d::CCObject *v4; // r2 cocos2d::CCArray *v5; // r0 cocos2d::_ccArray *v6; // r1 cocos2d::_ccArray **v7; // r3 char *v9; // [sp+0h] [bp-Ch] int varg_r2; // [sp+20h] [bp+14h] BYREF va_list varg_r2a; // [sp+20h] [bp+14h] va_list varg_r3; // [sp+24h] [bp+18h] BYREF va_start(varg_r3, a2); va_start(varg_r2a, a2); varg_r2 = va_arg(varg_r3, _DWORD); cocos2d::ccArrayFree((cocos2d *)&this->data, a2); if ( !a2 ) return 0; v5 = this; v6 = (cocos2d::_ccArray *)a2; va_copy(v9, varg_r2a); while ( 1 ) { cocos2d::CCArray::addObject(v5, v6, v4); v7 = (cocos2d::_ccArray **)v9; v4 = (cocos2d::CCObject *)(v9 + 4); v9 += 4; v6 = *v7; if ( !*v7 ) break; v5 = this; } return 1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source