; ; GJEffectManager::countForItem from 0x1402623f0 to 0x1402624a5 (181 bytes) ; ; 9 xrefs: ; > GJBaseGameLayer::getItemValue @ 0x140234231 ; > GJBaseGameLayer::refreshCounterLabels @ 0x140235631 ; > GJEffectManager::updateCountForItem @ 0x1402624df ; > EffectGameObject::triggerObject @ 0x1404a6026 ; > CountTriggerGameObject::triggerObject @ 0x1404bb2f6 ; > CountTriggerGameObject::triggerObject @ 0x1404bb323 ; > CountTriggerGameObject::triggerObject @ 0x1404bb359 ; > CountTriggerGameObject::triggerObject @ 0x1404bb3cc ; > CountTriggerGameObject::triggerObject @ 0x1404bb525 ; ; 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 r9, rcx ; +0x0, 0x1402623f0 mov r10d, edx ; +0x3, 0x1402623f3 xor eax, eax ; +0x6, 0x1402623f6 mov ecx, 270Fh ; +0x8, 0x1402623f8 test edx, edx ; +0xd, 0x1402623fd mov rdx, 100000001B3h ; +0xf, 0x1402623ff cmovs r10d, eax ; +0x19, 0x140262409 cmp r10d, ecx ; +0x1d, 0x14026240d cmovg r10d, ecx ; +0x20, 0x140262410 mov rcx, 0CBF29CE484222325h ; +0x24, 0x140262414 mov [rsp+arg_8], r10d ; +0x2e, 0x14026241e movzx r8d, r10b ; +0x33, 0x140262423 xor r8, rcx ; +0x37, 0x140262427 movzx ecx, byte ptr [rsp+arg_8+1] ; +0x3a, 0x14026242a imul r8, rdx ; +0x3f, 0x14026242f xor r8, rcx ; +0x43, 0x140262433 movzx ecx, byte ptr [rsp+arg_8+2] ; +0x46, 0x140262436 imul r8, rdx ; +0x4b, 0x14026243b xor r8, rcx ; +0x4f, 0x14026243f movzx ecx, byte ptr [rsp+arg_8+3] ; +0x52, 0x140262442 imul r8, rdx ; +0x57, 0x140262447 xor r8, rcx ; +0x5b, 0x14026244b imul r8, rdx ; +0x5e, 0x14026244e mov rdx, [r9+360h] ; +0x62, 0x140262452 and rdx, r8 ; +0x69, 0x140262459 mov r8, [r9+338h] ; +0x6c, 0x14026245c shl rdx, 4 ; +0x73, 0x140262463 add rdx, [r9+348h] ; +0x77, 0x140262467 mov rcx, [rdx+8] ; +0x7e, 0x14026246e cmp rcx, r8 ; +0x82, 0x140262472 jz short loc_140262492 ; +0x85, 0x140262475 mov rdx, [rdx] ; +0x87, 0x140262477 cmp r10d, [rcx+10h] ; +0x8a, 0x14026247a jz short loc_14026248F ; +0x8e, 0x14026247e cmp rcx, rdx ; +0x90, 0x140262480 jz short loc_140262492 ; +0x93, 0x140262483 mov rcx, [rcx+8] ; +0x95, 0x140262485 cmp r10d, [rcx+10h] ; +0x99, 0x140262489 jnz short loc_140262480 ; +0x9d, 0x14026248d mov rax, rcx ; +0x9f, 0x14026248f test rax, rax ; +0xa2, 0x140262492 cmovz rax, r8 ; +0xa5, 0x140262495 cmp rax, r8 ; +0xa9, 0x140262499 jz short loc_1402624A2 ; +0xac, 0x14026249c mov eax, [rax+14h] ; +0xae, 0x14026249e retn ; +0xb1, 0x1402624a1 xor eax, eax ; +0xb2, 0x1402624a2 retn ; +0xb4, 0x1402624a4