//
// cocos2d::CCCamera::locate from 0x7b61e8 to 0x7b625a (114 bytes)
//
// 2 xrefs:
// > cocos2d::CCNode::transform @ 0x7c4af2
// > cocos2d::CCGridBase::afterDraw @ 0x7ce6fc
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 12:00:11 +0000
//
int __fastcall cocos2d::CCCamera::locate(cocos2d::CCCamera *this)
{
char *v2; // r6
_BYTE v4[12]; // [sp+0h] [bp-18h] BYREF
_BYTE v5[12]; // [sp+Ch] [bp-Ch] BYREF
_BYTE v6[12]; // [sp+18h] [bp+0h] BYREF
v2 = (char *)this + 92;
if ( *((_BYTE *)this + 88) )
{
kmVec3Fill(v4, *((_DWORD *)this + 13), *((_DWORD *)this + 14), *((_DWORD *)this + 15));
kmVec3Fill(v5, *((_DWORD *)this + 16), *((_DWORD *)this + 17), *((_DWORD *)this + 18));
kmVec3Fill(v6, *((_DWORD *)this + 19), *((_DWORD *)this + 20), *((_DWORD *)this + 21));
kmMat4LookAt(v2, v4, v5, v6);
*((_BYTE *)this + 88) = 0;
}
return kmGLMultMatrix(v2);
}