// // cocos2d::CCCamera::locate from 0x1800bf9f0 to 0x1800bfaa2 (178 bytes) // // 5 xrefs: // > cocos2d::CCNode::transform @ 0x180005469 // > cocos2d::CCNode::transform @ 0x180005487 // > cocos2d::CCGridBase::afterDraw @ 0x180022b6b // > @ 0x18014cf68 // > @ 0x1801c32f4 // // This function is hookable on this platform (idp: pc, 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 11:22:24 +0000 // void __fastcall cocos2d::CCCamera::locate(cocos2d::CCCamera *this) { float *v2; // rdi float v3[4]; // [rsp+20h] [rbp-48h] BYREF float v4[4]; // [rsp+30h] [rbp-38h] BYREF float v5[4]; // [rsp+40h] [rbp-28h] BYREF if ( *((_BYTE *)this + 92) ) { kmVec3Fill(v5, *((float *)this + 14), *((float *)this + 15), *((float *)this + 16)); kmVec3Fill(v4, *((float *)this + 17), *((float *)this + 18), *((float *)this + 19)); kmVec3Fill(v3, *((float *)this + 20), *((float *)this + 21), *((float *)this + 22)); v2 = (float *)((char *)this + 96); kmMat4LookAt((__int64)this + 96, v5, (__int64)v4, (__int64)v3); *((_BYTE *)this + 92) = 0; } else { v2 = (float *)((char *)this + 96); } kmGLMultMatrix(v2); }
GD Web Decomp Icon

GD Web Decomp

Raw Source