; ; CollisionBlockPopup::updateItemID from 0x14008ba50 to 0x14008bae9 (153 bytes) ; ; 4 xrefs: ; > CollisionBlockPopup::onItemIDArrow @ 0x14008b67a ; > CollisionBlockPopup::onNextItemID @ 0x14008b819 ; > CollisionBlockPopup::textChanged @ 0x14008b928 ; > @ 0x1406c6dd4 ; ; 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_0], rbx ; +0x0, 0x14008ba50 push rdi ; +0x5, 0x14008ba55 sub rsp, 20h ; +0x6, 0x14008ba56 mov eax, [rcx+298h] ; +0xa, 0x14008ba5a mov rdi, rcx ; +0x10, 0x14008ba60 xor ebx, ebx ; +0x13, 0x14008ba63 test eax, eax ; +0x15, 0x14008ba65 mov ecx, ebx ; +0x17, 0x14008ba67 cmovns ecx, eax ; +0x19, 0x14008ba69 mov eax, 270Fh ; +0x1c, 0x14008ba6c cmp ecx, eax ; +0x21, 0x14008ba71 cmovg ecx, eax ; +0x23, 0x14008ba73 mov rax, [rdi+280h] ; +0x26, 0x14008ba76 mov [rdi+298h], ecx ; +0x2d, 0x14008ba7d test rax, rax ; +0x33, 0x14008ba83 jz short loc_14008BA99 ; +0x36, 0x14008ba86 mov [rax+6A0h], ecx ; +0x38, 0x14008ba88 mov rbx, [rsp+28h+arg_0] ; +0x3e, 0x14008ba8e add rsp, 20h ; +0x43, 0x14008ba93 pop rdi ; +0x47, 0x14008ba97 retn ; +0x48, 0x14008ba98 mov rcx, [rdi+288h] ; +0x49, 0x14008ba99 test rcx, rcx ; +0x50, 0x14008baa0 jz short loc_14008BADE ; +0x53, 0x14008baa3 call cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x55, 0x14008baa5 test eax, eax ; +0x5b, 0x14008baab jz short loc_14008BADE ; +0x5d, 0x14008baad nop ; +0x5f, 0x14008baaf mov rcx, [rdi+288h] ; +0x60, 0x14008bab0 mov edx, ebx ; +0x67, 0x14008bab7 call cs:?objectAtIndex@CCArray@cocos2d@@QEAAPEAVCCObject@2@I@Z; cocos2d::CCArray::objectAtIndex(uint) ; +0x69, 0x14008bab9 mov ecx, [rdi+298h] ; +0x6f, 0x14008babf inc ebx ; +0x75, 0x14008bac5 mov [rax+6A0h], ecx ; +0x77, 0x14008bac7 mov rcx, [rdi+288h] ; +0x7d, 0x14008bacd call cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x84, 0x14008bad4 cmp ebx, eax ; +0x8a, 0x14008bada jb short loc_14008BAB0 ; +0x8c, 0x14008badc mov rbx, [rsp+28h+arg_0] ; +0x8e, 0x14008bade add rsp, 20h ; +0x93, 0x14008bae3 pop rdi ; +0x97, 0x14008bae7 retn ; +0x98, 0x14008bae8