; ; EditorUI::setCustomGridNodeSize from 0x1401ae390 to 0x1401ae514 (388 bytes) ; ; 11 xrefs: ; > EditorUI::setCustomGridEnabled @ 0x1401ae5aa ; > EditorUI::cycleCustomGridPreset @ 0x1401ae649 ; > EditorUI::cycleCustomGridPreset @ 0x1401ae69d ; > EditorUI::cycleCustomGridPreset @ 0x1401ae6dd ; > EditorUI::cycleCustomGridPreset @ 0x1401ae6ea ; > EditorUI::adjustCustomGridSize @ 0x1401ae766 ; > EditorUI::adjustCustomGridSize @ 0x1401ae782 ; > GridSettingsLayer::valueDidChange @ 0x1402c9533 ; > GridSettingsLayer::onReset @ 0x1402c955d ; > @ 0x140919de4 ; > @ 0x140919df0 ; ; 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:54 +0000 ; mov [rsp+arg_10], rbx ; +0x0, 0x1401ae390 push rdi ; +0x5, 0x1401ae395 sub rsp, 70h ; +0x6, 0x1401ae396 movaps [rsp+78h+var_18], xmm6 ; +0xa, 0x1401ae39a mov rax, cs:__security_cookie ; +0xf, 0x1401ae39f xor rax, rsp ; +0x16, 0x1401ae3a6 mov [rsp+78h+var_20], rax ; +0x19, 0x1401ae3a9 mov rdi, rcx ; +0x1e, 0x1401ae3ae xorps xmm6, xmm6 ; +0x21, 0x1401ae3b1 comiss xmm1, xmm6 ; +0x24, 0x1401ae3b4 jbe short loc_1401AE3D5 ; +0x27, 0x1401ae3b7 movss xmm0, cs:dword_1408359A4 ; +0x29, 0x1401ae3b9 minss xmm0, xmm1 ; +0x31, 0x1401ae3c1 movss xmm6, cs:flt_140835470 ; +0x35, 0x1401ae3c5 comiss xmm6, xmm0 ; +0x3d, 0x1401ae3cd ja short loc_1401AE3D5 ; +0x40, 0x1401ae3d0 movaps xmm6, xmm0 ; +0x42, 0x1401ae3d2 movss dword ptr [rcx+2BCh], xmm6 ; +0x45, 0x1401ae3d5 mov rbx, cs:qword_14090BFD0 ; +0x4d, 0x1401ae3dd test rbx, rbx ; +0x54, 0x1401ae3e4 jnz short loc_1401AE41B ; +0x57, 0x1401ae3e7 mov ecx, 6E8h; Size ; +0x59, 0x1401ae3e9 call ??2@YAPEAX_K@Z; operator new(unsigned __int64) ; +0x5e, 0x1401ae3ee mov [rsp+78h+var_48], rax ; +0x63, 0x1401ae3f3 mov rcx, rax ; +0x68, 0x1401ae3f8 call GameManager__GameManager ; +0x6b, 0x1401ae3fb nop ; +0x70, 0x1401ae400 mov cs:qword_14090BFD0, rax ; +0x71, 0x1401ae401 mov rcx, [rax] ; +0x78, 0x1401ae408 mov rdx, [rcx+48h] ; +0x7b, 0x1401ae40b mov rcx, rax ; +0x7f, 0x1401ae40f call rdx ; +0x82, 0x1401ae412 mov rbx, cs:qword_14090BFD0 ; +0x84, 0x1401ae414 xorps xmm0, xmm0 ; +0x8b, 0x1401ae41b movups xmmword ptr [rsp+78h+Block], xmm0 ; +0x8e, 0x1401ae41e mov [rsp+78h+var_30], 3 ; +0x93, 0x1401ae423 mov [rsp+78h+var_28], 0Fh ; +0x9c, 0x1401ae42c mov eax, cs:dword_140757618 ; +0xa5, 0x1401ae435 mov word ptr [rsp+78h+Block], ax ; +0xab, 0x1401ae43b movzx eax, byte ptr cs:dword_140757618+2 ; +0xb0, 0x1401ae440 mov byte ptr [rsp+78h+Block+2], al ; +0xb7, 0x1401ae447 mov byte ptr [rsp+78h+Block+3], 0 ; +0xbb, 0x1401ae44b mov r8d, 4; Size ; +0xc0, 0x1401ae450 lea rdx, a0193; "0193" ; +0xc6, 0x1401ae456 lea rcx, [rsp+78h+Block]; Src ; +0xcd, 0x1401ae45d call sub_140044D80 ; +0xd2, 0x1401ae462 mov rbx, [rbx+1B0h] ; +0xd7, 0x1401ae467 mulss xmm6, cs:flt_1408354EC ; +0xde, 0x1401ae46e cvttss2si edx, xmm6 ; +0xe6, 0x1401ae476 lea rcx, word_1406ED6F8 ; +0xea, 0x1401ae47a call cs:?createWithFormat@CCString@cocos2d@@SAPEAV12@PEBDZZ; cocos2d::CCString::createWithFormat(char const *,...) ; +0xf1, 0x1401ae481 mov rdx, rax ; +0xf7, 0x1401ae487 lea r8, [rsp+78h+Block] ; +0xfa, 0x1401ae48a mov rcx, rbx ; +0xff, 0x1401ae48f call cs:?setObject@CCDictionary@cocos2d@@QEAAXPEAVCCObject@2@AEBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z; cocos2d::CCDictionary::setObject(cocos2d::CCObject *,std::string const &) ; +0x102, 0x1401ae492 nop ; +0x108, 0x1401ae498 mov rdx, [rsp+78h+var_28] ; +0x109, 0x1401ae499 cmp rdx, 0Fh ; +0x10e, 0x1401ae49e jbe short loc_1401AE4EC ; +0x112, 0x1401ae4a2 inc rdx ; +0x114, 0x1401ae4a4 mov rcx, [rsp+78h+Block]; Block ; +0x117, 0x1401ae4a7 mov rax, rcx ; +0x11c, 0x1401ae4ac cmp rdx, 1000h ; +0x11f, 0x1401ae4af jb short loc_1401AE4E7 ; +0x126, 0x1401ae4b6 add rdx, 27h ; ''' ; +0x128, 0x1401ae4b8 mov rcx, [rcx-8] ; +0x12c, 0x1401ae4bc sub rax, rcx ; +0x130, 0x1401ae4c0 sub rax, 8 ; +0x133, 0x1401ae4c3 cmp rax, 1Fh ; +0x137, 0x1401ae4c7 jbe short loc_1401AE4E7 ; +0x13b, 0x1401ae4cb mov [rsp+78h+Reserved], 0; Reserved ; +0x13d, 0x1401ae4cd xor r9d, r9d; LineNo ; +0x146, 0x1401ae4d6 xor r8d, r8d; FileName ; +0x149, 0x1401ae4d9 xor edx, edx; FunctionName ; +0x14c, 0x1401ae4dc xor ecx, ecx; Expression ; +0x14e, 0x1401ae4de call cs:_invoke_watson ; +0x150, 0x1401ae4e0 db 0CCh ; +0x156, 0x1401ae4e6 call j_j_free ; +0x157, 0x1401ae4e7 mov rcx, rdi ; +0x15c, 0x1401ae4ec call EditorUI__updateGridNodeSize_1 ; +0x15f, 0x1401ae4ef mov rcx, [rsp+78h+var_20] ; +0x164, 0x1401ae4f4 xor rcx, rsp; StackCookie ; +0x169, 0x1401ae4f9 call __security_check_cookie ; +0x16c, 0x1401ae4fc mov rbx, [rsp+78h+arg_10] ; +0x171, 0x1401ae501 movaps xmm6, [rsp+78h+var_18] ; +0x179, 0x1401ae509 add rsp, 70h ; +0x17e, 0x1401ae50e pop rdi ; +0x182, 0x1401ae512 retn ; +0x183, 0x1401ae513