// // sub_180094390 from 0x180094390 to 0x180094424 (148 bytes) // // 2 xrefs: // > @ 0x180104368 // > @ 0x1801b66e4 // // 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 // cocos2d::CCObject *__fastcall sub_180094390(cocos2d::CCObject *this, char a2) { unsigned __int64 v4; // rdx _QWORD *v5; // rcx this->__vftable = (cocos2d::CCObject_vtbl *)&cocos2d::CCProfilingTimer::`vftable'; v4 = *((_QWORD *)this + 10); if ( v4 > 0xF ) { v5 = *((_QWORD **)this + 7); if ( v4 + 1 >= 0x1000 ) { if ( (unsigned __int64)v5 - *(v5 - 1) - 8 > 0x1F ) invalid_parameter_noinfo_noreturn(); v5 = (_QWORD *)*(v5 - 1); } j_j_free_0(v5); } *((_QWORD *)this + 9) = 0; *((_QWORD *)this + 10) = 15; *((_BYTE *)this + 56) = 0; cocos2d::CCObject::~CCObject(this); if ( (a2 & 1) != 0 ) j_j_free_0(this); return this; }
GD Web Decomp Icon

GD Web Decomp

Raw Source