// // cocos2d::CCCamera::locate from 0xd253a8 to 0xd25480 (216 bytes) // // 4 xrefs: // > cocos2d::CCNode::transform @ 0xd3ed7c // > cocos2d::CCNode::transform @ 0xd3eda4 // > cocos2d::CCGridBase::afterDraw @ 0xd4f034 // > @ 0xf75a0 // // This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True! // // 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 13:07:13 +0000 // __int64 __fastcall cocos2d::CCCamera::locate(cocos2d::CCCamera *this) { char *v2; // x21 long double v3; // q0 _BYTE v5[16]; // [xsp+68h] [xbp+68h] BYREF _BYTE v6[16]; // [xsp+78h] [xbp+78h] BYREF _BYTE v7[16]; // [xsp+88h] [xbp+88h] BYREF v2 = (char *)this + 96; if ( *((_BYTE *)this + 92) ) { v2 = (char *)this + 96; kmVec3Fill(v5, *((float *)this + 14), *((float *)this + 15), *((float *)this + 16)); kmVec3Fill(v6, *((float *)this + 17), *((float *)this + 18), *((float *)this + 19)); *(__n128 *)&v3 = kmVec3Fill(v7, *((float *)this + 20), *((float *)this + 21), *((float *)this + 22)); kmMat4LookAt((char *)this + 96, v5, v6, v7, v3); *((_BYTE *)this + 92) = 0; } kmGLMultMatrix(v2); return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source