; ; GJGarageLayer::onArrow from 0x140275e70 to 0x140275f6a (250 bytes) ; ; 2 xrefs: ; > GJGarageLayer::setupIconSelect @ 0x140275c07 ; > @ 0x1406d0f2c ; ; This function is hookable on this platform! ; ; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA ; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings ; mov [rsp+arg_8], rbx ; +0x0, 0x140275e70 mov [rsp+arg_10], rbp ; +0x5, 0x140275e75 mov [rsp+arg_18], rsi ; +0xa, 0x140275e7a push rdi ; +0xf, 0x140275e7f sub rsp, 20h ; +0x10, 0x140275e80 mov rdi, rcx ; +0x14, 0x140275e84 mov rax, [rdx] ; +0x17, 0x140275e87 mov rcx, rdx ; +0x1a, 0x140275e8a call qword ptr [rax+38h] ; +0x1d, 0x140275e8d mov ebp, eax ; +0x20, 0x140275e90 cmp cs:qword_1406C2ED8, 0 ; +0x22, 0x140275e92 jnz short loc_140275EF6 ; +0x2a, 0x140275e9a mov ecx, 668h; Size ; +0x2c, 0x140275e9c call ??2@YAPEAX_K@Z; operator new(unsigned __int64) ; +0x31, 0x140275ea1 mov [rsp+28h+arg_0], rax ; +0x36, 0x140275ea6 mov rcx, rax ; +0x3b, 0x140275eab call sub_14017AB00 ; +0x3e, 0x140275eae nop ; +0x43, 0x140275eb3 mov cs:qword_1406C2ED8, rax ; +0x44, 0x140275eb4 mov rdx, [rax] ; +0x4b, 0x140275ebb mov rcx, rax ; +0x4e, 0x140275ebe call qword ptr [rdx+48h] ; +0x51, 0x140275ec1 cmp cs:qword_1406C2ED8, 0 ; +0x54, 0x140275ec4 jnz short loc_140275EF6 ; +0x5c, 0x140275ecc mov ecx, 668h; Size ; +0x5e, 0x140275ece call ??2@YAPEAX_K@Z; operator new(unsigned __int64) ; +0x63, 0x140275ed3 mov [rsp+28h+arg_0], rax ; +0x68, 0x140275ed8 mov rcx, rax ; +0x6d, 0x140275edd call sub_14017AB00 ; +0x70, 0x140275ee0 nop ; +0x75, 0x140275ee5 mov cs:qword_1406C2ED8, rax ; +0x76, 0x140275ee6 mov rdx, [rax] ; +0x7d, 0x140275eed mov rcx, rax ; +0x80, 0x140275ef0 call qword ptr [rdx+48h] ; +0x83, 0x140275ef3 mov edx, [rdi+204h] ; +0x86, 0x140275ef6 call GameManager__countForType ; +0x8c, 0x140275efc mov ebx, eax ; +0x91, 0x140275f01 lea rcx, [rdi+208h] ; +0x93, 0x140275f03 lea rdx, [rdi+204h] ; +0x9a, 0x140275f0a call sub_14012CE70 ; +0xa1, 0x140275f11 mov ecx, [rax] ; +0xa6, 0x140275f16 mov eax, 38E38E39h ; +0xa8, 0x140275f18 imul ebx ; +0xad, 0x140275f1d sar edx, 3 ; +0xaf, 0x140275f1f mov eax, edx ; +0xb2, 0x140275f22 shr eax, 1Fh ; +0xb4, 0x140275f24 add edx, eax ; +0xb7, 0x140275f27 mov eax, 1 ; +0xb9, 0x140275f29 mov r8d, 0FFFFFFFFh ; +0xbe, 0x140275f2e cmp ebp, eax ; +0xc4, 0x140275f34 cmovnz eax, r8d ; +0xc6, 0x140275f36 add eax, ecx ; +0xca, 0x140275f3a js short loc_140275F47 ; +0xcc, 0x140275f3c xor ecx, ecx ; +0xce, 0x140275f3e cmp eax, edx ; +0xd0, 0x140275f40 cmovg eax, ecx ; +0xd2, 0x140275f42 mov edx, eax ; +0xd5, 0x140275f45 mov r8d, [rdi+204h] ; +0xd7, 0x140275f47 mov rcx, rdi ; +0xde, 0x140275f4e mov rbx, [rsp+28h+arg_8] ; +0xe1, 0x140275f51 mov rbp, [rsp+28h+arg_10] ; +0xe6, 0x140275f56 mov rsi, [rsp+28h+arg_18] ; +0xeb, 0x140275f5b add rsp, 20h ; +0xf0, 0x140275f60 pop rdi ; +0xf4, 0x140275f64 jmp GJGarageLayer__setupPage ; +0xf5, 0x140275f65