; ; GJColorSetupLayer::updateSpriteColors from 0x14035f3e0 to 0x14035f4ff (287 bytes) ; ; 7 xrefs: ; > GJColorSetupLayer::init @ 0x14035eff7 ; > GJColorSetupLayer::init @ 0x14035f3a3 ; > GJColorSetupLayer::colorSelectClosed @ 0x14035f797 ; > GJColorSetupLayer::showPage @ 0x14035f7fb ; > @ 0x1408ba348 ; > @ 0x1408ba358 ; > @ 0x140921278 ; ; 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:30:52 +0000 ; push rbx ; +0x0, 0x14035f3e0 push rsi ; +0x2, 0x14035f3e2 push rdi ; +0x3, 0x14035f3e3 sub rsp, 20h ; +0x4, 0x14035f3e4 mov esi, [rcx+2D4h] ; +0x8, 0x14035f3e8 mov rdi, rcx ; +0xe, 0x14035f3ee imul esi, [rcx+2D0h] ; +0x11, 0x14035f3f1 xor ebx, ebx ; +0x18, 0x14035f3f8 mov rcx, [rcx+2C8h] ; +0x1a, 0x14035f3fa call cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x21, 0x14035f401 test eax, eax ; +0x27, 0x14035f407 jz loc_14035F4F7 ; +0x29, 0x14035f409 mov [rsp+38h+arg_0], rbp ; +0x2f, 0x14035f40f mov [rsp+38h+arg_8], r14 ; +0x34, 0x14035f414 mov [rsp+38h+arg_10], r15 ; +0x39, 0x14035f419 lea r15d, [rsi+1] ; +0x3e, 0x14035f41e nop dword ptr [rax+00h] ; +0x42, 0x14035f422 nop word ptr [rax+rax+00000000h] ; +0x46, 0x14035f426 mov rcx, [rdi+2C8h] ; +0x50, 0x14035f430 mov edx, ebx ; +0x57, 0x14035f437 call cs:?objectAtIndex@CCArray@cocos2d@@QEAAPEAVCCObject@2@I@Z; cocos2d::CCArray::objectAtIndex(uint) ; +0x59, 0x14035f439 mov rcx, [rdi+2C0h] ; +0x5f, 0x14035f43f mov edx, ebx ; +0x66, 0x14035f446 mov rsi, rax ; +0x68, 0x14035f448 call cs:?objectAtIndex@CCArray@cocos2d@@QEAAPEAVCCObject@2@I@Z; cocos2d::CCArray::objectAtIndex(uint) ; +0x6b, 0x14035f44b mov rcx, [rsi] ; +0x71, 0x14035f451 mov r14, rax ; +0x74, 0x14035f454 mov rdx, [rcx+1F8h] ; +0x77, 0x14035f457 mov rcx, rsi ; +0x7e, 0x14035f45e call rdx ; +0x81, 0x14035f461 lea ebp, [r15+rbx] ; +0x83, 0x14035f463 mov rcx, [rax] ; +0x87, 0x14035f467 mov r8, [rcx+3A8h] ; +0x8a, 0x14035f46a mov rcx, rax ; +0x91, 0x14035f471 cmp ebp, 3E7h ; +0x94, 0x14035f474 jg short loc_14035F4B0 ; +0x9a, 0x14035f47a mov dl, 1 ; +0x9c, 0x14035f47c call r8 ; +0x9e, 0x14035f47e mov rax, [rsi] ; +0xa1, 0x14035f481 mov dl, 1 ; +0xa4, 0x14035f484 mov rcx, rsi ; +0xa6, 0x14035f486 call qword ptr [rax+150h] ; +0xa9, 0x14035f489 mov rax, [r14] ; +0xaf, 0x14035f48f mov dl, 1 ; +0xb2, 0x14035f492 mov rcx, r14 ; +0xb4, 0x14035f494 call qword ptr [rax+150h] ; +0xb7, 0x14035f497 mov r9d, ebp ; +0xbd, 0x14035f49d mov r8, r14 ; +0xc0, 0x14035f4a0 mov rdx, rsi ; +0xc3, 0x14035f4a3 mov rcx, rdi ; +0xc6, 0x14035f4a6 call GJColorSetupLayer__updateSpriteColor ; +0xc9, 0x14035f4a9 jmp short loc_14035F4D1 ; +0xce, 0x14035f4ae xor edx, edx ; +0xd0, 0x14035f4b0 call r8 ; +0xd2, 0x14035f4b2 mov rax, [rsi] ; +0xd5, 0x14035f4b5 xor edx, edx ; +0xd8, 0x14035f4b8 mov rcx, rsi ; +0xda, 0x14035f4ba call qword ptr [rax+150h] ; +0xdd, 0x14035f4bd mov rax, [r14] ; +0xe3, 0x14035f4c3 xor edx, edx ; +0xe6, 0x14035f4c6 mov rcx, r14 ; +0xe8, 0x14035f4c8 call qword ptr [rax+150h] ; +0xeb, 0x14035f4cb mov rcx, [rdi+2C8h] ; +0xf1, 0x14035f4d1 inc ebx ; +0xf8, 0x14035f4d8 call cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0xfa, 0x14035f4da cmp ebx, eax ; +0x100, 0x14035f4e0 jb loc_14035F430 ; +0x102, 0x14035f4e2 mov r15, [rsp+38h+arg_10] ; +0x108, 0x14035f4e8 mov r14, [rsp+38h+arg_8] ; +0x10d, 0x14035f4ed mov rbp, [rsp+38h+arg_0] ; +0x112, 0x14035f4f2 add rsp, 20h ; +0x117, 0x14035f4f7 pop rdi ; +0x11b, 0x14035f4fb pop rsi ; +0x11c, 0x14035f4fc pop rbx ; +0x11d, 0x14035f4fd retn ; +0x11e, 0x14035f4fe