{"type": "func", "start": 6443256128, "end": 6443256969, "name": "cocos2d::CCDirector::CCDirector", "pseudocode": "// \n// cocos2d::CCDirector::CCDirector from 0x1800c4940 to 0x1800c4c89 (841 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x1801438a8\n// > <???> @ 0x1801b972c\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\n// Hidden C++ exception states: #wind=1\ncocos2d::CCDirector *__fastcall cocos2d::CCDirector::CCDirector(\n        cocos2d::CCDirector *this,\n        const struct cocos2d::CCDirector *a2)\n{\n  this->cocos2d::CCObject::cocos2d::CCCopying::__vftable = (cocos2d::CCDirector_vtbl *)&cocos2d::CCObject::`vftable';\n  this->m_uID = a2->m_uID;\n  this->m_nLuaID = a2->m_nLuaID;\n  this->m_nTag = a2->m_nTag;\n  this->m_uReference = a2->m_uReference;\n  this->m_uAutoReleaseCount = a2->m_uAutoReleaseCount;\n  this->m_eObjType = a2->m_eObjType;\n  this->m_uIndexInArray = a2->m_uIndexInArray;\n  this->m_uUnknown = a2->m_uUnknown;\n  this->m_unknown2 = a2->m_unknown2;\n  this->m_nZOrder = a2->m_nZOrder;\n  this->m_uOrderOfArrival = a2->m_uOrderOfArrival;\n  this->m_unknown5 = a2->m_unknown5;\n  this->cocos2d::CCObject::cocos2d::CCCopying::__vftable = (cocos2d::CCDirector_vtbl *)&cocos2d::CCDirector::`vftable'{for `cocos2d::CCObject'};\n  this->cocos2d::TypeInfo::__vftable = (cocos2d::TypeInfo_vtbl *)&cocos2d::CCDirector::`vftable'{for `cocos2d::TypeInfo'};\n  this->m_fScreenScaleFactor = a2->m_fScreenScaleFactor;\n  this->m_fScreenScaleFactorMax = a2->m_fScreenScaleFactorMax;\n  this->m_fScreenScaleFactorW = a2->m_fScreenScaleFactorW;\n  this->m_fScreenScaleFactorH = a2->m_fScreenScaleFactorH;\n  this->m_fScreenTop = a2->m_fScreenTop;\n  this->m_fScreenBottom = a2->m_fScreenBottom;\n  this->m_fScreenLeft = a2->m_fScreenLeft;\n  this->m_fScreenRight = a2->m_fScreenRight;\n  this->m_pSceneReference = a2->m_pSceneReference;\n  this->m_pScheduler = a2->m_pScheduler;\n  this->m_pActionManager = a2->m_pActionManager;\n  this->m_pTouchDispatcher = a2->m_pTouchDispatcher;\n  this->m_pKeypadDispatcher = a2->m_pKeypadDispatcher;\n  this->m_pKeyboardDispatcher = a2->m_pKeyboardDispatcher;\n  this->m_pMouseDispatcher = a2->m_pMouseDispatcher;\n  this->m_pAccelerometer = a2->m_pAccelerometer;\n  this->m_fDeltaTime = a2->m_fDeltaTime;\n  this->m_fActualDeltaTime = a2->m_fActualDeltaTime;\n  this->m_bIsTransitioning = a2->m_bIsTransitioning;\n  this->m_bSmoothFix = a2->m_bSmoothFix;\n  this->m_bSmoothFixCheck = a2->m_bSmoothFixCheck;\n  this->m_nSmoothFixCounter = a2->m_nSmoothFixCounter;\n  this->m_bPurgeDirecotorInNextLoop = a2->m_bPurgeDirecotorInNextLoop;\n  this->m_pobOpenGLView = a2->m_pobOpenGLView;\n  this->m_dAnimationInterval = a2->m_dAnimationInterval;\n  this->m_dOldAnimationInterval = a2->m_dOldAnimationInterval;\n  this->m_bLandscape = a2->m_bLandscape;\n  this->m_bDisplayStats = a2->m_bDisplayStats;\n  this->m_fFpsAccumDt = a2->m_fFpsAccumDt;\n  this->m_fAccumDt = a2->m_fAccumDt;\n  this->m_fFrameRate = a2->m_fFrameRate;\n  this->m_pFPSLabel = a2->m_pFPSLabel;\n  this->m_pSPFLabel = a2->m_pSPFLabel;\n  this->m_pDrawsLabel = a2->m_pDrawsLabel;\n  this->m_bPaused = a2->m_bPaused;\n  this->m_uTotalFrames = a2->m_uTotalFrames;\n  this->m_uFrames = a2->m_uFrames;\n  this->m_fSecondsPerFrame = a2->m_fSecondsPerFrame;\n  this->m_pRunningScene = a2->m_pRunningScene;\n  this->m_pNextScene = a2->m_pNextScene;\n  this->m_bSendCleanupToScene = a2->m_bSendCleanupToScene;\n  this->m_pobScenesStack = a2->m_pobScenesStack;\n  this->m_pLastUpdate = a2->m_pLastUpdate;\n  this->m_bNextDeltaTimeZero = a2->m_bNextDeltaTimeZero;\n  this->m_eProjection = a2->m_eProjection;\n  cocos2d::cc_timeval::operator=(&this->m_obWinSizeInPoints, &a2->m_obWinSizeInPoints);\n  this->m_fContentScaleFactor = a2->m_fContentScaleFactor;\n  this->m_pszFPS = a2->m_pszFPS;\n  this->m_pNotificationNode = a2->m_pNotificationNode;\n  this->m_pProjectionDelegate = a2->m_pProjectionDelegate;\n  this->m_pAppDelegate = a2->m_pAppDelegate;\n  this->m_bDisplayFPS = a2->m_bDisplayFPS;\n  this->m_pFPSNode = a2->m_pFPSNode;\n  cocos2d::cc_timeval::operator=(&this->m_obScaleFactor, &a2->m_obScaleFactor);\n  cocos2d::cc_timeval::operator=(&this->m_obResolutionInPixels, &a2->m_obResolutionInPixels);\n  this->m_eTextureQuality = a2->m_eTextureQuality;\n  this->m_bDontCallWillSwitch = a2->m_bDontCallWillSwitch;\n  this->m_bFastMenu = a2->m_bFastMenu;\n  return this;\n}", "assembly": "; \n; cocos2d::CCDirector::CCDirector from 0x1800c4940 to 0x1800c4c89 (841 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x1801438a8\n; > <???> @ 0x1801b972c\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\nmov     [rsp+arg_8], rbx                                               ; +0x0, 0x1800c4940\nmov     [rsp+arg_0], rcx                                               ; +0x5, 0x1800c4945\npush    rdi                                                            ; +0xa, 0x1800c494a\nsub     rsp, 20h                                                       ; +0xb, 0x1800c494b\nmov     rbx, rdx                                                       ; +0xf, 0x1800c494f\nmov     rdi, rcx                                                       ; +0x12, 0x1800c4952\nlea     rax, ??_7CCObject@cocos2d@@6B@; const cocos2d::CCObject::`vftable' ; +0x15, 0x1800c4955\nmov     [rcx], rax                                                     ; +0x1c, 0x1800c495c\nmov     eax, [rdx+8]                                                   ; +0x1f, 0x1800c495f\nmov     [rcx+8], eax                                                   ; +0x22, 0x1800c4962\nmov     eax, [rdx+0Ch]                                                 ; +0x25, 0x1800c4965\nmov     [rcx+0Ch], eax                                                 ; +0x28, 0x1800c4968\nmov     eax, [rdx+10h]                                                 ; +0x2b, 0x1800c496b\nmov     [rcx+10h], eax                                                 ; +0x2e, 0x1800c496e\nmov     eax, [rdx+14h]                                                 ; +0x31, 0x1800c4971\nmov     [rcx+14h], eax                                                 ; +0x34, 0x1800c4974\nmov     eax, [rdx+18h]                                                 ; +0x37, 0x1800c4977\nmov     [rcx+18h], eax                                                 ; +0x3a, 0x1800c497a\nmov     eax, [rdx+1Ch]                                                 ; +0x3d, 0x1800c497d\nmov     [rcx+1Ch], eax                                                 ; +0x40, 0x1800c4980\nmov     eax, [rdx+20h]                                                 ; +0x43, 0x1800c4983\nmov     [rcx+20h], eax                                                 ; +0x46, 0x1800c4986\nmov     eax, [rdx+24h]                                                 ; +0x49, 0x1800c4989\nmov     [rcx+24h], eax                                                 ; +0x4c, 0x1800c498c\nmov     eax, [rdx+28h]                                                 ; +0x4f, 0x1800c498f\nmov     [rcx+28h], eax                                                 ; +0x52, 0x1800c4992\nmov     eax, [rdx+2Ch]                                                 ; +0x55, 0x1800c4995\nmov     [rcx+2Ch], eax                                                 ; +0x58, 0x1800c4998\nmov     eax, [rdx+30h]                                                 ; +0x5b, 0x1800c499b\nmov     [rcx+30h], eax                                                 ; +0x5e, 0x1800c499e\nmov     eax, [rdx+34h]                                                 ; +0x61, 0x1800c49a1\nmov     [rcx+34h], eax                                                 ; +0x64, 0x1800c49a4\nlea     rax, ??_7CCDirector@cocos2d@@6BCCObject@1@@; const cocos2d::CCDirector::`vftable'{for `cocos2d::CCObject'} ; +0x67, 0x1800c49a7\nmov     [rcx], rax                                                     ; +0x6e, 0x1800c49ae\nlea     rax, ??_7CCDirector@cocos2d@@6BTypeInfo@1@@; const cocos2d::CCDirector::`vftable'{for `cocos2d::TypeInfo'} ; +0x71, 0x1800c49b1\nmov     [rcx+38h], rax                                                 ; +0x78, 0x1800c49b8\nmov     eax, [rdx+40h]                                                 ; +0x7c, 0x1800c49bc\nmov     [rcx+40h], eax                                                 ; +0x7f, 0x1800c49bf\nmov     eax, [rdx+44h]                                                 ; +0x82, 0x1800c49c2\nmov     [rcx+44h], eax                                                 ; +0x85, 0x1800c49c5\nmov     eax, [rdx+48h]                                                 ; +0x88, 0x1800c49c8\nmov     [rcx+48h], eax                                                 ; +0x8b, 0x1800c49cb\nmov     eax, [rdx+4Ch]                                                 ; +0x8e, 0x1800c49ce\nmov     [rcx+4Ch], eax                                                 ; +0x91, 0x1800c49d1\nmov     eax, [rdx+50h]                                                 ; +0x94, 0x1800c49d4\nmov     [rcx+50h], eax                                                 ; +0x97, 0x1800c49d7\nmov     eax, [rdx+54h]                                                 ; +0x9a, 0x1800c49da\nmov     [rcx+54h], eax                                                 ; +0x9d, 0x1800c49dd\nmov     eax, [rdx+58h]                                                 ; +0xa0, 0x1800c49e0\nmov     [rcx+58h], eax                                                 ; +0xa3, 0x1800c49e3\nmov     eax, [rdx+5Ch]                                                 ; +0xa6, 0x1800c49e6\nmov     [rcx+5Ch], eax                                                 ; +0xa9, 0x1800c49e9\nmov     rax, [rdx+60h]                                                 ; +0xac, 0x1800c49ec\nmov     [rcx+60h], rax                                                 ; +0xb0, 0x1800c49f0\nmov     rax, [rdx+68h]                                                 ; +0xb4, 0x1800c49f4\nmov     [rcx+68h], rax                                                 ; +0xb8, 0x1800c49f8\nmov     rax, [rdx+70h]                                                 ; +0xbc, 0x1800c49fc\nmov     [rcx+70h], rax                                                 ; +0xc0, 0x1800c4a00\nmov     rax, [rdx+78h]                                                 ; +0xc4, 0x1800c4a04\nmov     [rcx+78h], rax                                                 ; +0xc8, 0x1800c4a08\nmov     rax, [rdx+80h]                                                 ; +0xcc, 0x1800c4a0c\nmov     [rcx+80h], rax                                                 ; +0xd3, 0x1800c4a13\nmov     rax, [rdx+88h]                                                 ; +0xda, 0x1800c4a1a\nmov     [rcx+88h], rax                                                 ; +0xe1, 0x1800c4a21\nmov     rax, [rdx+90h]                                                 ; +0xe8, 0x1800c4a28\nmov     [rcx+90h], rax                                                 ; +0xef, 0x1800c4a2f\nmov     rax, [rdx+98h]                                                 ; +0xf6, 0x1800c4a36\nmov     [rcx+98h], rax                                                 ; +0xfd, 0x1800c4a3d\nmov     eax, [rdx+0A0h]                                                ; +0x104, 0x1800c4a44\nmov     [rcx+0A0h], eax                                                ; +0x10a, 0x1800c4a4a\nmov     eax, [rdx+0A4h]                                                ; +0x110, 0x1800c4a50\nmov     [rcx+0A4h], eax                                                ; +0x116, 0x1800c4a56\nmovzx   eax, byte ptr [rdx+0A8h]                                       ; +0x11c, 0x1800c4a5c\nmov     [rcx+0A8h], al                                                 ; +0x123, 0x1800c4a63\nmovzx   eax, byte ptr [rdx+0A9h]                                       ; +0x129, 0x1800c4a69\nmov     [rcx+0A9h], al                                                 ; +0x130, 0x1800c4a70\nmovzx   eax, byte ptr [rdx+0AAh]                                       ; +0x136, 0x1800c4a76\nmov     [rcx+0AAh], al                                                 ; +0x13d, 0x1800c4a7d\nmov     eax, [rdx+0ACh]                                                ; +0x143, 0x1800c4a83\nmov     [rcx+0ACh], eax                                                ; +0x149, 0x1800c4a89\nmovzx   eax, byte ptr [rdx+0B0h]                                       ; +0x14f, 0x1800c4a8f\nmov     [rcx+0B0h], al                                                 ; +0x156, 0x1800c4a96\nmov     rax, [rdx+0B8h]                                                ; +0x15c, 0x1800c4a9c\nmov     [rcx+0B8h], rax                                                ; +0x163, 0x1800c4aa3\nmov     rax, [rdx+0C0h]                                                ; +0x16a, 0x1800c4aaa\nmov     [rcx+0C0h], rax                                                ; +0x171, 0x1800c4ab1\nmov     rax, [rdx+0C8h]                                                ; +0x178, 0x1800c4ab8\nmov     [rcx+0C8h], rax                                                ; +0x17f, 0x1800c4abf\nmovzx   eax, byte ptr [rdx+0D0h]                                       ; +0x186, 0x1800c4ac6\nmov     [rcx+0D0h], al                                                 ; +0x18d, 0x1800c4acd\nmovzx   eax, byte ptr [rdx+0D1h]                                       ; +0x193, 0x1800c4ad3\nmov     [rcx+0D1h], al                                                 ; +0x19a, 0x1800c4ada\nmov     eax, [rdx+0D4h]                                                ; +0x1a0, 0x1800c4ae0\nmov     [rcx+0D4h], eax                                                ; +0x1a6, 0x1800c4ae6\nmov     eax, [rdx+0D8h]                                                ; +0x1ac, 0x1800c4aec\nmov     [rcx+0D8h], eax                                                ; +0x1b2, 0x1800c4af2\nmov     eax, [rdx+0DCh]                                                ; +0x1b8, 0x1800c4af8\nmov     [rcx+0DCh], eax                                                ; +0x1be, 0x1800c4afe\nmov     rax, [rdx+0E0h]                                                ; +0x1c4, 0x1800c4b04\nmov     [rcx+0E0h], rax                                                ; +0x1cb, 0x1800c4b0b\nmov     rax, [rdx+0E8h]                                                ; +0x1d2, 0x1800c4b12\nmov     [rcx+0E8h], rax                                                ; +0x1d9, 0x1800c4b19\nmov     rax, [rdx+0F0h]                                                ; +0x1e0, 0x1800c4b20\nmov     [rcx+0F0h], rax                                                ; +0x1e7, 0x1800c4b27\nmovzx   eax, byte ptr [rdx+0F8h]                                       ; +0x1ee, 0x1800c4b2e\nmov     [rcx+0F8h], al                                                 ; +0x1f5, 0x1800c4b35\nmov     eax, [rdx+0FCh]                                                ; +0x1fb, 0x1800c4b3b\nmov     [rcx+0FCh], eax                                                ; +0x201, 0x1800c4b41\nmov     eax, [rdx+100h]                                                ; +0x207, 0x1800c4b47\nmov     [rcx+100h], eax                                                ; +0x20d, 0x1800c4b4d\nmov     eax, [rdx+104h]                                                ; +0x213, 0x1800c4b53\nmov     [rcx+104h], eax                                                ; +0x219, 0x1800c4b59\nmov     rax, [rdx+108h]                                                ; +0x21f, 0x1800c4b5f\nmov     [rcx+108h], rax                                                ; +0x226, 0x1800c4b66\nmov     rax, [rdx+110h]                                                ; +0x22d, 0x1800c4b6d\nmov     [rcx+110h], rax                                                ; +0x234, 0x1800c4b74\nmovzx   eax, byte ptr [rdx+118h]                                       ; +0x23b, 0x1800c4b7b\nmov     [rcx+118h], al                                                 ; +0x242, 0x1800c4b82\nmov     rax, [rdx+120h]                                                ; +0x248, 0x1800c4b88\nmov     [rcx+120h], rax                                                ; +0x24f, 0x1800c4b8f\nmov     rax, [rdx+128h]                                                ; +0x256, 0x1800c4b96\nmov     [rcx+128h], rax                                                ; +0x25d, 0x1800c4b9d\nmovzx   eax, byte ptr [rdx+130h]                                       ; +0x264, 0x1800c4ba4\nmov     [rcx+130h], al                                                 ; +0x26b, 0x1800c4bab\nmov     eax, [rdx+134h]                                                ; +0x271, 0x1800c4bb1\nmov     [rcx+134h], eax                                                ; +0x277, 0x1800c4bb7\nadd     rdx, 138h                                                      ; +0x27d, 0x1800c4bbd\nadd     rcx, 138h                                                      ; +0x284, 0x1800c4bc4\ncall    ??4cc_timeval@cocos2d@@QEAAAEAU01@$$QEAU01@@Z; cocos2d::cc_timeval::operator=(cocos2d::cc_timeval &&) ; +0x28b, 0x1800c4bcb\nmov     eax, [rbx+140h]                                                ; +0x290, 0x1800c4bd0\nmov     [rdi+140h], eax                                                ; +0x296, 0x1800c4bd6\nmov     rax, [rbx+148h]                                                ; +0x29c, 0x1800c4bdc\nmov     [rdi+148h], rax                                                ; +0x2a3, 0x1800c4be3\nmov     rax, [rbx+150h]                                                ; +0x2aa, 0x1800c4bea\nmov     [rdi+150h], rax                                                ; +0x2b1, 0x1800c4bf1\nmov     rax, [rbx+158h]                                                ; +0x2b8, 0x1800c4bf8\nmov     [rdi+158h], rax                                                ; +0x2bf, 0x1800c4bff\nmov     rax, [rbx+160h]                                                ; +0x2c6, 0x1800c4c06\nmov     [rdi+160h], rax                                                ; +0x2cd, 0x1800c4c0d\nmovzx   eax, byte ptr [rbx+168h]                                       ; +0x2d4, 0x1800c4c14\nmov     [rdi+168h], al                                                 ; +0x2db, 0x1800c4c1b\nmov     rax, [rbx+170h]                                                ; +0x2e1, 0x1800c4c21\nmov     [rdi+170h], rax                                                ; +0x2e8, 0x1800c4c28\nlea     rdx, [rbx+178h]                                                ; +0x2ef, 0x1800c4c2f\nlea     rcx, [rdi+178h]                                                ; +0x2f6, 0x1800c4c36\ncall    ??4cc_timeval@cocos2d@@QEAAAEAU01@$$QEAU01@@Z; cocos2d::cc_timeval::operator=(cocos2d::cc_timeval &&) ; +0x2fd, 0x1800c4c3d\nlea     rdx, [rbx+180h]                                                ; +0x302, 0x1800c4c42\nlea     rcx, [rdi+180h]                                                ; +0x309, 0x1800c4c49\ncall    ??4cc_timeval@cocos2d@@QEAAAEAU01@$$QEAU01@@Z; cocos2d::cc_timeval::operator=(cocos2d::cc_timeval &&) ; +0x310, 0x1800c4c50\nmov     eax, [rbx+188h]                                                ; +0x315, 0x1800c4c55\nmov     [rdi+188h], eax                                                ; +0x31b, 0x1800c4c5b\nmovzx   eax, byte ptr [rbx+18Ch]                                       ; +0x321, 0x1800c4c61\nmov     [rdi+18Ch], al                                                 ; +0x328, 0x1800c4c68\nmovzx   eax, byte ptr [rbx+18Dh]                                       ; +0x32e, 0x1800c4c6e\nmov     [rdi+18Dh], al                                                 ; +0x335, 0x1800c4c75\nmov     rax, rdi                                                       ; +0x33b, 0x1800c4c7b\nmov     rbx, [rsp+28h+arg_8]                                           ; +0x33e, 0x1800c4c7e\nadd     rsp, 20h                                                       ; +0x343, 0x1800c4c83\npop     rdi                                                            ; +0x347, 0x1800c4c87\nretn                                                                   ; +0x348, 0x1800c4c88", "xrefs": ["<???> @ 0x1801438a8", "<???> @ 0x1801b972c"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}