; ; EnhancedGameObject::setupAnimationVariables from 0x100247a10 to 0x100247b4e (318 bytes) ; ; 5 xrefs: ; > SetupAnimSettingsPopup::updateAnimSettings @ 0x10006278a ; > SetupAnimSettingsPopup::updateAnimSettings @ 0x1000627c2 ; > SetupAnimSettingsPopup::onClose @ 0x1000627fc ; > SetupAnimSettingsPopup::onClose @ 0x100062832 ; > EnhancedGameObject::saveActiveColors @ 0x10069da5a ; ; 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 12:27:20 +0000 ; push rbp ; +0x0, 0x100247a10 mov rbp, rsp ; +0x1, 0x100247a11 push rbx ; +0x4, 0x100247a14 push rax ; +0x5, 0x100247a15 mov rbx, rdi ; +0x6, 0x100247a16 cmp dword ptr [rdi+404h], 811h ; +0x9, 0x100247a19 jz short loc_100247A87 ; +0x13, 0x100247a23 call GameManager__sharedState ; +0x15, 0x100247a25 movsxd rsi, dword ptr [rbx+404h] ; +0x1a, 0x100247a2a mov rdi, [rax+190h] ; +0x21, 0x100247a31 call cocos2d__CCDictionary__objectForKey_1 ; +0x28, 0x100247a38 test rax, rax ; +0x2d, 0x100247a3d jz short loc_100247A48 ; +0x30, 0x100247a40 movzx eax, word ptr [rax+38h] ; +0x32, 0x100247a42 jmp short loc_100247A4C ; +0x36, 0x100247a46 mov ax, 1 ; +0x38, 0x100247a48 mov [rbx+568h], ax ; +0x3c, 0x100247a4c call GameManager__sharedState ; +0x43, 0x100247a53 movsxd rsi, dword ptr [rbx+404h] ; +0x48, 0x100247a58 mov rdi, [rax+188h] ; +0x4f, 0x100247a5f call cocos2d__CCDictionary__objectForKey_1 ; +0x56, 0x100247a66 test rax, rax ; +0x5b, 0x100247a6b jz short loc_100247A77 ; +0x5e, 0x100247a6e movss xmm0, dword ptr [rax+38h] ; +0x60, 0x100247a70 jmp short loc_100247A7F ; +0x65, 0x100247a75 movss xmm0, cs:alpha ; +0x67, 0x100247a77 movss dword ptr [rbx+564h], xmm0 ; +0x6f, 0x100247a7f movss xmm0, dword ptr [rbx+55Ch] ; +0x77, 0x100247a87 cmp byte ptr [rbx+588h], 1 ; +0x7f, 0x100247a8f jnz short loc_100247AB4 ; +0x86, 0x100247a96 movss xmm1, dword ptr [rbx+584h] ; +0x88, 0x100247a98 xorps xmm2, xmm2 ; +0x90, 0x100247aa0 ucomiss xmm1, xmm2 ; +0x93, 0x100247aa3 jnz short loc_100247AAA ; +0x96, 0x100247aa6 jnp short loc_100247AB4 ; +0x98, 0x100247aa8 andps xmm1, cs:xmmword_100A038A0 ; +0x9a, 0x100247aaa movaps xmm0, xmm1 ; +0xa1, 0x100247ab1 movss xmm1, dword ptr [rbx+564h] ; +0xa4, 0x100247ab4 divss xmm1, xmm0 ; +0xac, 0x100247abc movss dword ptr [rbx+564h], xmm1 ; +0xb0, 0x100247ac0 mov rdi, rbx ; +0xb8, 0x100247ac8 call GameObject__usesFreezeAnimation ; +0xbb, 0x100247acb test al, al ; +0xc0, 0x100247ad0 jz short loc_100247AEC ; +0xc2, 0x100247ad2 movzx eax, byte ptr [rbx+58Ah] ; +0xc4, 0x100247ad4 mov ecx, eax ; +0xcb, 0x100247adb xor cl, 1 ; +0xcd, 0x100247add mov [rbx+560h], cl ; +0xd0, 0x100247ae0 test al, al ; +0xd6, 0x100247ae6 jnz short loc_100247AF3 ; +0xd8, 0x100247ae8 jmp short loc_100247AFA ; +0xda, 0x100247aea mov byte ptr [rbx+560h], 0 ; +0xdc, 0x100247aec mov byte ptr [rbx+306h], 0 ; +0xe3, 0x100247af3 mov ecx, [rbx+404h] ; +0xea, 0x100247afa cmp ecx, 73Fh ; +0xf0, 0x100247b00 setz byte ptr [rbx+561h] ; +0xf6, 0x100247b06 mov al, 1 ; +0xfd, 0x100247b0d cmp ecx, 0B4Bh ; +0xff, 0x100247b0f jg short loc_100247B36 ; +0x105, 0x100247b15 lea edx, [rcx-72Fh] ; +0x107, 0x100247b17 cmp edx, 4 ; +0x10d, 0x100247b1d jb short loc_100247B41 ; +0x110, 0x100247b20 cmp ecx, 637h ; +0x112, 0x100247b22 jz short loc_100247B41 ; +0x118, 0x100247b28 cmp ecx, 639h ; +0x11a, 0x100247b2a jz short loc_100247B41 ; +0x120, 0x100247b30 xor eax, eax ; +0x122, 0x100247b32 jmp short loc_100247B41 ; +0x124, 0x100247b34 add ecx, 0FFFFF4B4h ; +0x126, 0x100247b36 cmp ecx, 2 ; +0x12c, 0x100247b3c jnb short loc_100247B32 ; +0x12f, 0x100247b3f mov [rbx+562h], al ; +0x131, 0x100247b41 add rsp, 8 ; +0x137, 0x100247b47 pop rbx ; +0x13b, 0x100247b4b pop rbp ; +0x13c, 0x100247b4c retn ; +0x13d, 0x100247b4d