; ; AutoSaveSettingsLayer::valueDidChange from 0x14009c2b0 to 0x14009c601 (849 bytes) ; ; 2 xrefs: ; > @ 0x14071b7f0 ; > @ 0x140912f08 ; ; 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:26:05 +0000 ; mov [rsp-8+arg_0], rbx ; +0x0, 0x14009c2b0 mov [rsp-8+arg_8], rdi ; +0x5, 0x14009c2b5 push rbp ; +0xa, 0x14009c2ba mov rbp, rsp ; +0xb, 0x14009c2bb sub rsp, 60h ; +0xe, 0x14009c2be mov rax, cs:__security_cookie ; +0x12, 0x14009c2c2 xor rax, rsp ; +0x19, 0x14009c2c9 mov [rbp+var_8], rax ; +0x1c, 0x14009c2cc cmp edx, 0FFFFFFFCh ; +0x20, 0x14009c2d0 jz loc_14009C4D0 ; +0x23, 0x14009c2d3 cmp edx, 0FFFFFFFDh ; +0x29, 0x14009c2d9 jz loc_14009C46E ; +0x2c, 0x14009c2dc cmp edx, 0FFFFFFFEh ; +0x32, 0x14009c2e2 jz short loc_14009C352 ; +0x35, 0x14009c2e5 cmp edx, 0FFFFFFFFh ; +0x37, 0x14009c2e7 jnz loc_14009C5E5 ; +0x3a, 0x14009c2ea xorps xmm0, xmm0 ; +0x40, 0x14009c2f0 ucomiss xmm2, xmm0 ; +0x43, 0x14009c2f3 jp short loc_14009C2FE ; +0x46, 0x14009c2f6 jnz short loc_14009C2FE ; +0x48, 0x14009c2f8 xor ebx, ebx ; +0x4a, 0x14009c2fa jmp short loc_14009C300 ; +0x4c, 0x14009c2fc mov bl, 1 ; +0x4e, 0x14009c2fe mov rcx, cs:qword_14090BFD0 ; +0x50, 0x14009c300 test rcx, rcx ; +0x57, 0x14009c307 jnz short loc_14009C33D ; +0x5a, 0x14009c30a mov ecx, 6E8h; Size ; +0x5c, 0x14009c30c call ??2@YAPEAX_K@Z; operator new(unsigned __int64) ; +0x61, 0x14009c311 mov [rbp+var_30], rax ; +0x66, 0x14009c316 mov rcx, rax ; +0x6a, 0x14009c31a call GameManager__GameManager ; +0x6d, 0x14009c31d nop ; +0x72, 0x14009c322 mov cs:qword_14090BFD0, rax ; +0x73, 0x14009c323 mov rcx, [rax] ; +0x7a, 0x14009c32a mov rdx, [rcx+48h] ; +0x7d, 0x14009c32d mov rcx, rax ; +0x81, 0x14009c331 call rdx ; +0x84, 0x14009c334 mov rcx, cs:qword_14090BFD0 ; +0x86, 0x14009c336 movzx r8d, bl ; +0x8d, 0x14009c33d lea rdx, a0184; "0184" ; +0x91, 0x14009c341 call GameManager__setGameVariable ; +0x98, 0x14009c348 jmp loc_14009C5E5 ; +0x9d, 0x14009c34d cvttss2si eax, xmm2 ; +0xa2, 0x14009c352 imul edi, eax, 3Ch ; '<' ; +0xa6, 0x14009c356 mov eax, 0E10h ; +0xa9, 0x14009c359 cmp edi, eax ; +0xae, 0x14009c35e cmovg edi, eax ; +0xb0, 0x14009c360 mov eax, 3Ch ; '<' ; +0xb3, 0x14009c363 cmp edi, eax ; +0xb8, 0x14009c368 cmovl edi, eax ; +0xba, 0x14009c36a mov rbx, cs:qword_14090BFD0 ; +0xbd, 0x14009c36d test rbx, rbx ; +0xc4, 0x14009c374 jnz short loc_14009C3AA ; +0xc7, 0x14009c377 mov ecx, 6E8h; Size ; +0xc9, 0x14009c379 call ??2@YAPEAX_K@Z; operator new(unsigned __int64) ; +0xce, 0x14009c37e mov [rbp+var_30], rax ; +0xd3, 0x14009c383 mov rcx, rax ; +0xd7, 0x14009c387 call GameManager__GameManager ; +0xda, 0x14009c38a nop ; +0xdf, 0x14009c38f mov cs:qword_14090BFD0, rax ; +0xe0, 0x14009c390 mov rcx, [rax] ; +0xe7, 0x14009c397 mov rdx, [rcx+48h] ; +0xea, 0x14009c39a mov rcx, rax ; +0xee, 0x14009c39e call rdx ; +0xf1, 0x14009c3a1 mov rbx, cs:qword_14090BFD0 ; +0xf3, 0x14009c3a3 xorps xmm0, xmm0 ; +0xfa, 0x14009c3aa movups xmmword ptr [rbp+Block], xmm0 ; +0xfd, 0x14009c3ad mov [rbp+var_18], 3 ; +0x101, 0x14009c3b1 mov [rbp+var_10], 0Fh ; +0x109, 0x14009c3b9 mov eax, cs:dword_140757618 ; +0x111, 0x14009c3c1 mov word ptr [rbp+Block], ax ; +0x117, 0x14009c3c7 movzx eax, byte ptr cs:dword_140757618+2 ; +0x11b, 0x14009c3cb mov byte ptr [rbp+Block+2], al ; +0x122, 0x14009c3d2 mov byte ptr [rbp+Block+3], 0 ; +0x125, 0x14009c3d5 mov r8d, 4; Size ; +0x129, 0x14009c3d9 lea rdx, a0185; "0185" ; +0x12f, 0x14009c3df lea rcx, [rbp+Block]; Src ; +0x136, 0x14009c3e6 call sub_140044D80 ; +0x13a, 0x14009c3ea mov rbx, [rbx+1B0h] ; +0x13f, 0x14009c3ef mov edx, edi ; +0x146, 0x14009c3f6 lea rcx, word_1406ED6F8 ; +0x148, 0x14009c3f8 call cs:?createWithFormat@CCString@cocos2d@@SAPEAV12@PEBDZZ; cocos2d::CCString::createWithFormat(char const *,...) ; +0x14f, 0x14009c3ff mov rdx, rax ; +0x155, 0x14009c405 lea r8, [rbp+Block] ; +0x158, 0x14009c408 mov rcx, rbx ; +0x15c, 0x14009c40c 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 &) ; +0x15f, 0x14009c40f nop ; +0x165, 0x14009c415 mov rdx, [rbp+var_10] ; +0x166, 0x14009c416 cmp rdx, 0Fh ; +0x16a, 0x14009c41a jbe loc_14009C5E5 ; +0x16e, 0x14009c41e inc rdx ; +0x174, 0x14009c424 mov rcx, [rbp+Block]; Block ; +0x177, 0x14009c427 mov rax, rcx ; +0x17b, 0x14009c42b cmp rdx, 1000h ; +0x17e, 0x14009c42e jb loc_14009C5E0 ; +0x185, 0x14009c435 add rdx, 27h ; ''' ; +0x18b, 0x14009c43b mov rcx, [rcx-8] ; +0x18f, 0x14009c43f sub rax, rcx ; +0x193, 0x14009c443 sub rax, 8 ; +0x196, 0x14009c446 cmp rax, 1Fh ; +0x19a, 0x14009c44a jbe loc_14009C5E0 ; +0x19e, 0x14009c44e mov [rsp+60h+Reserved], 0; Reserved ; +0x1a4, 0x14009c454 xor r9d, r9d; LineNo ; +0x1ad, 0x14009c45d xor r8d, r8d; FileName ; +0x1b0, 0x14009c460 xor edx, edx; FunctionName ; +0x1b3, 0x14009c463 xor ecx, ecx; Expression ; +0x1b5, 0x14009c465 call cs:_invoke_watson ; +0x1b7, 0x14009c467 align 2 ; +0x1bd, 0x14009c46d xorps xmm0, xmm0 ; +0x1be, 0x14009c46e ucomiss xmm2, xmm0 ; +0x1c1, 0x14009c471 jp short loc_14009C47C ; +0x1c4, 0x14009c474 jnz short loc_14009C47C ; +0x1c6, 0x14009c476 xor ebx, ebx ; +0x1c8, 0x14009c478 jmp short loc_14009C47E ; +0x1ca, 0x14009c47a mov bl, 1 ; +0x1cc, 0x14009c47c mov rcx, cs:qword_14090BFD0 ; +0x1ce, 0x14009c47e test rcx, rcx ; +0x1d5, 0x14009c485 jnz short loc_14009C4BB ; +0x1d8, 0x14009c488 mov ecx, 6E8h; Size ; +0x1da, 0x14009c48a call ??2@YAPEAX_K@Z; operator new(unsigned __int64) ; +0x1df, 0x14009c48f mov [rbp+var_30], rax ; +0x1e4, 0x14009c494 mov rcx, rax ; +0x1e8, 0x14009c498 call GameManager__GameManager ; +0x1eb, 0x14009c49b nop ; +0x1f0, 0x14009c4a0 mov cs:qword_14090BFD0, rax ; +0x1f1, 0x14009c4a1 mov rcx, [rax] ; +0x1f8, 0x14009c4a8 mov rdx, [rcx+48h] ; +0x1fb, 0x14009c4ab mov rcx, rax ; +0x1ff, 0x14009c4af call rdx ; +0x202, 0x14009c4b2 mov rcx, cs:qword_14090BFD0 ; +0x204, 0x14009c4b4 movzx r8d, bl ; +0x20b, 0x14009c4bb lea rdx, a0186; "0186" ; +0x20f, 0x14009c4bf call GameManager__setGameVariable ; +0x216, 0x14009c4c6 jmp loc_14009C5E5 ; +0x21b, 0x14009c4cb cvttss2si eax, xmm2 ; +0x220, 0x14009c4d0 imul edi, eax, 3Ch ; '<' ; +0x224, 0x14009c4d4 mov eax, 4650h ; +0x227, 0x14009c4d7 cmp edi, eax ; +0x22c, 0x14009c4dc cmovg edi, eax ; +0x22e, 0x14009c4de mov eax, 258h ; +0x231, 0x14009c4e1 cmp edi, eax ; +0x236, 0x14009c4e6 cmovl edi, eax ; +0x238, 0x14009c4e8 mov rbx, cs:qword_14090BFD0 ; +0x23b, 0x14009c4eb test rbx, rbx ; +0x242, 0x14009c4f2 jnz short loc_14009C528 ; +0x245, 0x14009c4f5 mov ecx, 6E8h; Size ; +0x247, 0x14009c4f7 call ??2@YAPEAX_K@Z; operator new(unsigned __int64) ; +0x24c, 0x14009c4fc mov [rbp+var_30], rax ; +0x251, 0x14009c501 mov rcx, rax ; +0x255, 0x14009c505 call GameManager__GameManager ; +0x258, 0x14009c508 nop ; +0x25d, 0x14009c50d mov cs:qword_14090BFD0, rax ; +0x25e, 0x14009c50e mov rcx, [rax] ; +0x265, 0x14009c515 mov rdx, [rcx+48h] ; +0x268, 0x14009c518 mov rcx, rax ; +0x26c, 0x14009c51c call rdx ; +0x26f, 0x14009c51f mov rbx, cs:qword_14090BFD0 ; +0x271, 0x14009c521 xorps xmm0, xmm0 ; +0x278, 0x14009c528 movups xmmword ptr [rbp+Block], xmm0 ; +0x27b, 0x14009c52b mov [rbp+var_18], 3 ; +0x27f, 0x14009c52f mov [rbp+var_10], 0Fh ; +0x287, 0x14009c537 mov eax, cs:dword_140757618 ; +0x28f, 0x14009c53f mov word ptr [rbp+Block], ax ; +0x295, 0x14009c545 movzx eax, byte ptr cs:dword_140757618+2 ; +0x299, 0x14009c549 mov byte ptr [rbp+Block+2], al ; +0x2a0, 0x14009c550 mov byte ptr [rbp+Block+3], 0 ; +0x2a3, 0x14009c553 mov r8d, 4; Size ; +0x2a7, 0x14009c557 lea rdx, a0187; "0187" ; +0x2ad, 0x14009c55d lea rcx, [rbp+Block]; Src ; +0x2b4, 0x14009c564 call sub_140044D80 ; +0x2b8, 0x14009c568 mov rbx, [rbx+1B0h] ; +0x2bd, 0x14009c56d mov edx, edi ; +0x2c4, 0x14009c574 lea rcx, word_1406ED6F8 ; +0x2c6, 0x14009c576 call cs:?createWithFormat@CCString@cocos2d@@SAPEAV12@PEBDZZ; cocos2d::CCString::createWithFormat(char const *,...) ; +0x2cd, 0x14009c57d mov rdx, rax ; +0x2d3, 0x14009c583 lea r8, [rbp+Block] ; +0x2d6, 0x14009c586 mov rcx, rbx ; +0x2da, 0x14009c58a 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 &) ; +0x2dd, 0x14009c58d nop ; +0x2e3, 0x14009c593 mov rdx, [rbp+var_10] ; +0x2e4, 0x14009c594 cmp rdx, 0Fh ; +0x2e8, 0x14009c598 jbe short loc_14009C5E5 ; +0x2ec, 0x14009c59c inc rdx ; +0x2ee, 0x14009c59e mov rcx, [rbp+Block] ; +0x2f1, 0x14009c5a1 mov rax, rcx ; +0x2f5, 0x14009c5a5 cmp rdx, 1000h ; +0x2f8, 0x14009c5a8 jb short loc_14009C5E0 ; +0x2ff, 0x14009c5af add rdx, 27h ; ''' ; +0x301, 0x14009c5b1 mov rcx, [rcx-8] ; +0x305, 0x14009c5b5 sub rax, rcx ; +0x309, 0x14009c5b9 sub rax, 8 ; +0x30c, 0x14009c5bc cmp rax, 1Fh ; +0x310, 0x14009c5c0 jbe short loc_14009C5E0 ; +0x314, 0x14009c5c4 mov [rsp+60h+Reserved], 0; Reserved ; +0x316, 0x14009c5c6 xor r9d, r9d; LineNo ; +0x31f, 0x14009c5cf xor r8d, r8d; FileName ; +0x322, 0x14009c5d2 xor edx, edx; FunctionName ; +0x325, 0x14009c5d5 xor ecx, ecx; Expression ; +0x327, 0x14009c5d7 call cs:_invoke_watson ; +0x329, 0x14009c5d9 align 20h ; +0x32f, 0x14009c5df call j_j_free ; +0x330, 0x14009c5e0 mov rcx, [rbp+var_8] ; +0x335, 0x14009c5e5 xor rcx, rsp; StackCookie ; +0x339, 0x14009c5e9 call __security_check_cookie ; +0x33c, 0x14009c5ec mov rbx, [rsp+60h+arg_0] ; +0x341, 0x14009c5f1 mov rdi, [rsp+60h+arg_8] ; +0x346, 0x14009c5f6 add rsp, 60h ; +0x34b, 0x14009c5fb pop rbp ; +0x34f, 0x14009c5ff retn ; +0x350, 0x14009c600