// // cocos2d::CCCamera::locate from 0x1005666a0 to 0x100566747 (167 bytes) // // 3 xrefs: // > cocos2d::CCNode::transform @ 0x100273b3c // > cocos2d::CCNode::transform @ 0x100273b4f // > cocos2d::CCGridBase::afterDraw @ 0x1004e3ab9 // // 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 // void __fastcall cocos2d::CCCamera::locate(cocos2d::CCCamera *a1) { float v2[3]; // [rsp+Ch] [rbp-44h] BYREF _BYTE v3[12]; // [rsp+18h] [rbp-38h] BYREF _BYTE v4[44]; // [rsp+24h] [rbp-2Ch] BYREF if ( a1->m_bDirty ) { sub_100608FE0( v2, COERCE_DOUBLE((unsigned __int64)LODWORD(a1->m_fEyeX)), COERCE_DOUBLE((unsigned __int64)LODWORD(a1->m_fEyeY)), COERCE_DOUBLE((unsigned __int64)LODWORD(a1->m_fEyeZ))); sub_100608FE0( v3, COERCE_DOUBLE((unsigned __int64)LODWORD(a1->m_fCenterX)), COERCE_DOUBLE((unsigned __int64)LODWORD(a1->m_fCenterY)), COERCE_DOUBLE((unsigned __int64)LODWORD(a1->m_fCenterZ))); sub_100608FE0( v4, COERCE_DOUBLE((unsigned __int64)LODWORD(a1->m_fUpX)), COERCE_DOUBLE((unsigned __int64)LODWORD(a1->m_fUpY)), COERCE_DOUBLE((unsigned __int64)LODWORD(a1->m_fUpZ))); sub_1003D3FC0((__int64)&a1->m_lookupMatrix, v2, (__int64)v3, (__int64)v4); a1->m_bDirty = 0; } sub_100207F30((__int64)&a1->m_lookupMatrix); }
GD Web Decomp Icon

GD Web Decomp

Raw Source