// // EditorUI::centerCameraOnPoint from 0x7c6d98 to 0x7c6e6c (212 bytes) // // 4 xrefs: // > EditorUI::centerCameraOnObject @ 0x7c6eb8 // > EditorUI::handleEditorAction @ 0xbd7324 // > EditorUI::findObject @ 0xbdd8a0 // > @ 0xa0768 // // 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 12:54:09 +0000 // __int64 __fastcall EditorUI::centerCameraOnPoint(EditorUI *a1, float *a2) { cocos2d::CCDirector *v3; // x0 float v4; // s0 __int64 v7; // [xsp+48h] [xbp+48h] BYREF _BYTE v8[8]; // [xsp+50h] [xbp+50h] BYREF v3 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(_stack_chk_guard); cocos2d::CCDirector::getWinSize(&v7, v3); v4 = (*(float (__fastcall **)(_QWORD))(**(_QWORD **)(*((_QWORD *)a1 + 180) + 3920LL) + 168LL))(*(_QWORD *)(*((_QWORD *)a1 + 180) + 3920LL)); cocos2d::CCPoint::CCPoint( (cocos2d::CCPoint *)v8, (float)(*(float *)&v7 * 0.5) - (float)(*a2 * v4), (float)(*((float *)&v7 + 1) * 0.5) - (float)(a2[1] * v4)); (*(void (__fastcall **)(_QWORD, _BYTE *))(**(_QWORD **)(*((_QWORD *)a1 + 180) + 3920LL) + 184LL))( *(_QWORD *)(*((_QWORD *)a1 + 180) + 3920LL), v8); EditorUI::constrainGameLayerPosition(a1); EditorUI::updateSlider(a1); return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source