; ; GJEffectManager::countForItem from 0x14036cb70 to 0x14036cc29 (185 bytes) ; ; 11 xrefs: ; > GJBaseGameLayer::getItemValue @ 0x14033cf21 ; > GJBaseGameLayer::refreshCounterLabels @ 0x14033e30c ; > GJEffectManager::updateCountForItem @ 0x14036cc5f ; > EffectGameObject::triggerObject @ 0x140647ce4 ; > EffectGameObject::triggerObject @ 0x14064969c ; > EffectGameObject::triggerObject @ 0x14064970b ; > CountTriggerGameObject::triggerObject @ 0x14065c390 ; > CountTriggerGameObject::triggerObject @ 0x14065c3bd ; > CountTriggerGameObject::triggerObject @ 0x14065c3f3 ; > CountTriggerGameObject::triggerObject @ 0x14065c45f ; > CountTriggerGameObject::triggerObject @ 0x14065c5c7 ; ; 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:58 +0000 ; mov r8, rcx ; +0x0, 0x14036cb70 mov r10d, edx ; +0x3, 0x14036cb73 xor r9d, r9d ; +0x6, 0x14036cb76 mov eax, 270Fh ; +0x9, 0x14036cb79 test edx, edx ; +0xe, 0x14036cb7e mov r11, 100000001B3h ; +0x10, 0x14036cb80 mov rcx, 0CBF29CE484222325h ; +0x1a, 0x14036cb8a cmovs r10d, r9d ; +0x24, 0x14036cb94 cmp r10d, eax ; +0x28, 0x14036cb98 cmovg r10d, eax ; +0x2b, 0x14036cb9b mov eax, r10d ; +0x2f, 0x14036cb9f shr eax, 8 ; +0x32, 0x14036cba2 movzx edx, al ; +0x35, 0x14036cba5 movzx eax, r10b ; +0x38, 0x14036cba8 xor rax, rcx ; +0x3c, 0x14036cbac imul rax, r11 ; +0x3f, 0x14036cbaf xor rdx, rax ; +0x43, 0x14036cbb3 mov eax, r10d ; +0x46, 0x14036cbb6 shr eax, 10h ; +0x49, 0x14036cbb9 movzx ecx, al ; +0x4c, 0x14036cbbc imul rdx, r11 ; +0x4f, 0x14036cbbf mov eax, r10d ; +0x53, 0x14036cbc3 xor rcx, rdx ; +0x56, 0x14036cbc6 shr rax, 18h ; +0x59, 0x14036cbc9 mov rdx, [r8+338h] ; +0x5d, 0x14036cbcd imul rcx, r11 ; +0x64, 0x14036cbd4 xor rcx, rax ; +0x68, 0x14036cbd8 imul rcx, r11 ; +0x6b, 0x14036cbdb and rcx, [r8+360h] ; +0x6f, 0x14036cbdf shl rcx, 4 ; +0x76, 0x14036cbe6 add rcx, [r8+348h] ; +0x7a, 0x14036cbea mov rax, [rcx+8] ; +0x81, 0x14036cbf1 cmp rax, rdx ; +0x85, 0x14036cbf5 jz short loc_14036CC15 ; +0x88, 0x14036cbf8 mov rcx, [rcx] ; +0x8a, 0x14036cbfa cmp r10d, [rax+10h] ; +0x8d, 0x14036cbfd jz short loc_14036CC12 ; +0x91, 0x14036cc01 cmp rax, rcx ; +0x93, 0x14036cc03 jz short loc_14036CC15 ; +0x96, 0x14036cc06 mov rax, [rax+8] ; +0x98, 0x14036cc08 cmp r10d, [rax+10h] ; +0x9c, 0x14036cc0c jnz short loc_14036CC03 ; +0xa0, 0x14036cc10 mov r9, rax ; +0xa2, 0x14036cc12 test r9, r9 ; +0xa5, 0x14036cc15 cmovz r9, rdx ; +0xa8, 0x14036cc18 cmp r9, rdx ; +0xac, 0x14036cc1c jz short loc_14036CC26 ; +0xaf, 0x14036cc1f mov eax, [r9+14h] ; +0xb1, 0x14036cc21 retn ; +0xb5, 0x14036cc25 xor eax, eax ; +0xb6, 0x14036cc26 retn ; +0xb8, 0x14036cc28