; ; EditorUI::centerCameraOnPoint from 0x1004768dc to 0x100476980 (164 bytes) ; ; 3 xrefs: ; > EditorUI::handleEditorAction @ 0x100163660 ; > EditorUI::findObject @ 0x1001a6ab0 ; > sub_100476890 @ 0x1004768c8 ; ; 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 11:05:41 +0000 ; SUB SP, SP, #0x30 ; +0x0, 0x1004768dc STP X20, X19, [SP,#0x20+var_10] ; +0x4, 0x1004768e0 STP X29, X30, [SP,#0x20+var_s0] ; +0x8, 0x1004768e4 ADD X29, SP, #0x20 ; +0xc, 0x1004768e8 MOV X20, X1 ; +0x10, 0x1004768ec MOV X19, X0 ; +0x14, 0x1004768f0 BL cocos2d__CCDirector__sharedDirector ; +0x18, 0x1004768f4 ADD X8, SP, #0x20+var_18 ; +0x1c, 0x1004768f8 BL cocos2d__CCDirector__getWinSize ; +0x20, 0x1004768fc LDR X8, [X19,#0x5A0] ; +0x24, 0x100476900 LDR X0, [X8,#0xF50] ; +0x28, 0x100476904 LDR X8, [X0] ; +0x2c, 0x100476908 LDR X8, [X8,#0xA8] ; +0x30, 0x10047690c BLR X8 ; +0x34, 0x100476910 FMOV S1, #0.5 ; +0x38, 0x100476914 LDP S2, S3, [SP,#0x20+var_18] ; +0x3c, 0x100476918 FMUL S2, S2, S1 ; +0x40, 0x10047691c LDP S4, S5, [X20] ; +0x44, 0x100476920 FMSUB S2, S4, S0, S2 ; +0x48, 0x100476924 FMUL S1, S3, S1 ; +0x4c, 0x100476928 FMSUB S1, S5, S0, S1 ; +0x50, 0x10047692c MOV X0, SP ; +0x54, 0x100476930 FMOV S0, S2 ; +0x58, 0x100476934 BL sub_1000262BC ; +0x5c, 0x100476938 LDR X8, [X19,#0x5A0] ; +0x60, 0x10047693c LDR X0, [X8,#0xF50] ; +0x64, 0x100476940 LDR X8, [X0] ; +0x68, 0x100476944 LDR X8, [X8,#0xB8] ; +0x6c, 0x100476948 MOV X1, SP ; +0x70, 0x10047694c BLR X8 ; +0x74, 0x100476950 MOV W8, #0xC2C80000 ; +0x78, 0x100476954 FMOV S0, W8 ; +0x7c, 0x100476958 MOV X0, X19 ; +0x80, 0x10047695c FMOV S1, S0 ; +0x84, 0x100476960 BL EditorUI__constrainGameLayerPosition ; +0x88, 0x100476964 MOV X0, X19 ; +0x8c, 0x100476968 BL EditorUI__updateSlider ; +0x90, 0x10047696c LDP X29, X30, [SP,#0x20+var_s0] ; +0x94, 0x100476970 LDP X20, X19, [SP,#0x20+var_10] ; +0x98, 0x100476974 ADD SP, SP, #0x30 ; '0' ; +0x9c, 0x100476978 RET ; +0xa0, 0x10047697c