; ; EditorUI::centerCameraOnPoint from 0x1401b1490 to 0x1401b1548 (184 bytes) ; ; 3 xrefs: ; > EditorUI::handleEditorAction @ 0x1401c3541 ; > EditorUI::findObject @ 0x1401c94da ; > @ 0x140919f34 ; ; 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:27:56 +0000 ; mov [rsp+arg_10], rbx ; +0x0, 0x1401b1490 push rdi ; +0x5, 0x1401b1495 sub rsp, 20h ; +0x6, 0x1401b1496 mov rbx, rdx ; +0xa, 0x1401b149a mov rdi, rcx ; +0xd, 0x1401b149d call cs:?sharedDirector@CCDirector@cocos2d@@SAPEAV12@XZ; cocos2d::CCDirector::sharedDirector(void) ; +0x10, 0x1401b14a0 mov rcx, rax ; +0x16, 0x1401b14a6 lea rdx, [rsp+28h+arg_0] ; +0x19, 0x1401b14a9 call cs:?getWinSize@CCDirector@cocos2d@@QEAA?AVCCSize@2@XZ; cocos2d::CCDirector::getWinSize(void) ; +0x1e, 0x1401b14ae mov rax, [rdi+5E8h] ; +0x24, 0x1401b14b4 mov rcx, [rax+10C8h] ; +0x2b, 0x1401b14bb mov rax, [rcx] ; +0x32, 0x1401b14c2 call qword ptr [rax+0A8h] ; +0x35, 0x1401b14c5 movss xmm2, [rsp+28h+arg_4] ; +0x3b, 0x1401b14cb lea rcx, [rsp+28h+arg_8] ; +0x41, 0x1401b14d1 mulss xmm2, cs:dword_140834F20 ; +0x46, 0x1401b14d6 movaps xmm1, xmm0 ; +0x4e, 0x1401b14de mulss xmm1, dword ptr [rbx+4] ; +0x51, 0x1401b14e1 mulss xmm0, dword ptr [rbx] ; +0x56, 0x1401b14e6 subss xmm2, xmm1 ; +0x5a, 0x1401b14ea movss xmm1, [rsp+28h+arg_0] ; +0x5e, 0x1401b14ee mulss xmm1, cs:dword_140834F20 ; +0x64, 0x1401b14f4 subss xmm1, xmm0 ; +0x6c, 0x1401b14fc call cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x70, 0x1401b1500 mov rax, [rdi+5E8h] ; +0x76, 0x1401b1506 lea rdx, [rsp+28h+arg_8] ; +0x7d, 0x1401b150d mov rcx, [rax+10C8h] ; +0x82, 0x1401b1512 mov rax, [rcx] ; +0x89, 0x1401b1519 call qword ptr [rax+0B8h] ; +0x8c, 0x1401b151c movss xmm1, cs:dword_140835FA8 ; +0x92, 0x1401b1522 mov rcx, rdi ; +0x9a, 0x1401b152a movaps xmm2, xmm1 ; +0x9d, 0x1401b152d call EditorUI__constrainGameLayerPosition ; +0xa0, 0x1401b1530 mov rcx, rdi ; +0xa5, 0x1401b1535 call EditorUI__updateSlider ; +0xa8, 0x1401b1538 mov rbx, [rsp+28h+arg_10] ; +0xad, 0x1401b153d add rsp, 20h ; +0xb2, 0x1401b1542 pop rdi ; +0xb6, 0x1401b1546 retn ; +0xb7, 0x1401b1547