// // EditorUI::centerCameraOnPoint from 0x484aac to 0x484b3c (144 bytes) // // 3 xrefs: // > EditorUI::centerCameraOnObject @ 0x484b64 // > EditorUI::handleEditorAction @ 0x6f2068 // > EditorUI::findObject @ 0x6f4d5a // // 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 11:49:24 +0000 // int __fastcall EditorUI::centerCameraOnPoint(cocos2d::CCDirector *a1, float *a2) { float v4; // r0 float v6[2]; // [sp+4h] [bp-14h] BYREF _BYTE v7[8]; // [sp+Ch] [bp-Ch] BYREF cocos2d::CCDirector::sharedDirector(a1); cocos2d::CCDirector::getWinSize((cocos2d::CCDirector *)v6); v4 = (*(float (__fastcall **)(_DWORD))(**(_DWORD **)(*((_DWORD *)a1 + 236) + 2436) + 84))(*(_DWORD *)(*((_DWORD *)a1 + 236) + 2436)); cocos2d::CCPoint::CCPoint( (cocos2d::CCPoint *)v7, (float)(v6[0] * 0.5) - (float)(*a2 * v4), (float)(v6[1] * 0.5) - (float)(a2[1] * v4)); (*(void (__fastcall **)(_DWORD, _BYTE *))(**(_DWORD **)(*((_DWORD *)a1 + 236) + 2436) + 92))( *(_DWORD *)(*((_DWORD *)a1 + 236) + 2436), v7); EditorUI::constrainGameLayerPosition(a1); return EditorUI::updateSlider(a1); }
GD Web Decomp Icon

GD Web Decomp

Raw Source