// // cocos2d::ccCArrayNew from 0xb218b4 to 0xb21910 (92 bytes) // // 9 xrefs: // > cocos2d::CCKeypadDispatcher::CCKeypadDispatcher @ 0xae12b8 // > cocos2d::CCKeypadDispatcher::CCKeypadDispatcher @ 0xae12c4 // > cocos2d::CCTMXLayer::initWithTilesetInfo @ 0xb38dbc // > cocos2d::CCTouchDispatcher::init @ 0xb3e89c // > cocos2d::CCKeyboardDispatcher::CCKeyboardDispatcher @ 0xb3fcf8 // > cocos2d::CCKeyboardDispatcher::CCKeyboardDispatcher @ 0xb3fd04 // > cocos2d::CCMouseDispatcher::CCMouseDispatcher @ 0xb40b68 // > cocos2d::CCMouseDispatcher::CCMouseDispatcher @ 0xb40b74 // > @ 0xbd738 // // 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 // _DWORD *__fastcall cocos2d::ccCArrayNew(cocos2d *this) { int v1; // w20 size_t v2; // x21 _DWORD *v3; // x19 void *v4; // x0 v1 = (int)this; if ( (_DWORD)this ) { v2 = 8LL * (unsigned int)this; } else { v2 = 8; v1 = 1; } v3 = malloc(0x18u); *v3 = 0; v4 = malloc(v2); v3[1] = v1; *((_QWORD *)v3 + 2) = v4; return v3; }
GD Web Decomp Icon

GD Web Decomp

Raw Source