// // cocos2d::CCDouble::create from 0x1800d15e0 to 0x1800d163b (91 bytes) // // 2 xrefs: // > @ 0x1801438a8 // > @ 0x1801ba3d4 // // 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 // // Hidden C++ exception states: #wind=1 struct cocos2d::CCDouble *__fastcall cocos2d::CCDouble::create(double a1) { cocos2d::CCObject *v1; // rax cocos2d::CCObject *v2; // rbx v1 = (cocos2d::CCObject *)operator new(0x40u); v2 = v1; if ( v1 ) { cocos2d::CCObject::CCObject(v1); v2->__vftable = (cocos2d::CCObject_vtbl *)&cocos2d::CCDouble::`vftable'; *(double *)&v2[1].__vftable = a1; } else { v2 = nullptr; } if ( v2 ) cocos2d::CCObject::autorelease(v2); return (struct cocos2d::CCDouble *)v2; }