; ; EditorUI::resetObjectEditorValues from 0x140203800 to 0x1402038b5 (181 bytes) ; ; 5 xrefs: ; > GJTransformControl::applyFreeRotation @ 0x1401a81d5 ; > EditorUI::updateTransformControl @ 0x1402036ba ; > @ 0x1408a4114 ; > @ 0x1408a4148 ; > @ 0x14091b0b0 ; ; 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:28:14 +0000 ; test rdx, rdx ; +0x0, 0x140203800 jz locret_1402038B4 ; +0x3, 0x140203803 mov [rsp+arg_18], rbx ; +0x9, 0x140203809 push rdi ; +0xe, 0x14020380e sub rsp, 30h ; +0xf, 0x14020380f mov rbx, rcx ; +0x13, 0x140203813 mov rdi, rdx ; +0x16, 0x140203816 mov rcx, rdx ; +0x19, 0x140203819 call cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x1c, 0x14020381c test eax, eax ; +0x22, 0x140203822 jz loc_1402038AA ; +0x24, 0x140203824 mov [rsp+38h+arg_10], rsi ; +0x2a, 0x14020382a mov rcx, rdi ; +0x2f, 0x14020382f xor esi, esi ; +0x32, 0x140203832 call cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x34, 0x140203834 test eax, eax ; +0x3a, 0x14020383a jz short loc_1402038A5 ; +0x3c, 0x14020383c mov [rsp+38h+arg_0], rbp ; +0x3e, 0x14020383e lea rbp, [rbx+1D0h] ; +0x43, 0x140203843 nop word ptr [rax+rax+00h] ; +0x4a, 0x14020384a mov edx, esi ; +0x50, 0x140203850 mov rcx, rdi ; +0x52, 0x140203852 call cs:?objectAtIndex@CCArray@cocos2d@@QEAAPEAVCCObject@2@I@Z; cocos2d::CCArray::objectAtIndex(uint) ; +0x55, 0x140203855 mov rcx, rax ; +0x5b, 0x14020385b mov rbx, rax ; +0x5e, 0x14020385e call GameObject__updateStartPos ; +0x61, 0x140203861 mov ecx, [rbx+39Ch] ; +0x66, 0x140203866 lea r8, [rsp+38h+arg_8] ; +0x6c, 0x14020386c mov [rsp+38h+arg_8], ecx ; +0x71, 0x140203871 lea rdx, [rsp+38h+var_18] ; +0x75, 0x140203875 mov rcx, rbp ; +0x7a, 0x14020387a call sub_1401A8A10 ; +0x7d, 0x14020387d mov rdx, rbx ; +0x82, 0x140203882 mov rcx, [rax] ; +0x85, 0x140203885 add rcx, 14h ; +0x88, 0x140203888 call GameObjectEditorState__loadValues ; +0x8c, 0x14020388c mov rcx, rdi ; +0x91, 0x140203891 inc esi ; +0x94, 0x140203894 call cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x96, 0x140203896 cmp esi, eax ; +0x9c, 0x14020389c jb short loc_140203850 ; +0x9e, 0x14020389e mov rbp, [rsp+38h+arg_0] ; +0xa0, 0x1402038a0 mov rsi, [rsp+38h+arg_10] ; +0xa5, 0x1402038a5 mov rbx, [rsp+38h+arg_18] ; +0xaa, 0x1402038aa add rsp, 30h ; +0xaf, 0x1402038af pop rdi ; +0xb3, 0x1402038b3 retn ; +0xb4, 0x1402038b4