// // cocos2d::CCProfiler::sharedProfiler from 0x1004ec030 to 0x1004ec0a9 (121 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 // cocos2d::CCProfiler *__fastcall cocos2d::CCProfiler::sharedProfiler() { cocos2d::CCProfiler *result; // rax _OWORD *v1; // rbx void *v2; // r14 result = (cocos2d::CCProfiler *)qword_1009A21F0; if ( !qword_1009A21F0 ) { v1 = operator new(0x40u); *v1 = 0; v1[1] = 0; v1[2] = 0; v1[3] = 0; cocos2d::CCObject::CCObject((__int64)v1); *(_QWORD *)v1 = off_100957E80; qword_1009A21F0 = (__int64)v1; v2 = operator new(0x48u); cocos2d::CCDictionary::CCDictionary((__int64)v2); *((_QWORD *)v1 + 7) = v2; return (cocos2d::CCProfiler *)qword_1009A21F0; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source