; ; GJFollowCommandLayer::updateTargetGroupID from 0x140272760 to 0x14027282d (205 bytes) ; ; 3 xrefs: ; > GJFollowCommandLayer::onUpdateGroupID @ 0x1402720b5 ; > GJFollowCommandLayer::textChanged @ 0x1402723f0 ; > @ 0x1406d0e6c ; ; 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, 0x140272760 mov [rsp+arg_10], rbp ; +0x5, 0x140272765 push rsi ; +0xa, 0x14027276a sub rsp, 20h ; +0xb, 0x14027276b mov eax, [rcx+3F0h] ; +0xf, 0x14027276f xor ebp, ebp ; +0x15, 0x140272775 test eax, eax ; +0x17, 0x140272777 mov esi, 270Fh ; +0x19, 0x140272779 mov edx, ebp ; +0x1e, 0x14027277e mov rbx, rcx ; +0x20, 0x140272780 cmovns edx, eax ; +0x23, 0x140272783 mov rax, [rcx+290h] ; +0x26, 0x140272786 cmp edx, esi ; +0x2d, 0x14027278d cmovg edx, esi ; +0x2f, 0x14027278f mov [rcx+3F0h], edx ; +0x32, 0x140272792 test rax, rax ; +0x38, 0x140272798 jz short loc_1402727BD ; +0x3b, 0x14027279b test edx, edx ; +0x3d, 0x14027279d cmovs edx, ebp ; +0x3f, 0x14027279f cmp edx, esi ; +0x42, 0x1402727a2 cmovg edx, esi ; +0x44, 0x1402727a4 mov [rax+5C8h], edx ; +0x47, 0x1402727a7 mov rbx, [rsp+28h+arg_8] ; +0x4d, 0x1402727ad mov rbp, [rsp+28h+arg_10] ; +0x52, 0x1402727b2 add rsp, 20h ; +0x57, 0x1402727b7 pop rsi ; +0x5b, 0x1402727bb retn ; +0x5c, 0x1402727bc mov rcx, [rcx+298h] ; +0x5d, 0x1402727bd mov [rsp+28h+arg_0], rdi ; +0x64, 0x1402727c4 mov edi, ebp ; +0x69, 0x1402727c9 call cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x6b, 0x1402727cb test eax, eax ; +0x71, 0x1402727d1 jz short loc_140272818 ; +0x73, 0x1402727d3 nop word ptr [rax+rax+00000000h] ; +0x75, 0x1402727d5 mov rcx, [rbx+298h] ; +0x80, 0x1402727e0 mov edx, edi ; +0x87, 0x1402727e7 call cs:?objectAtIndex@CCArray@cocos2d@@QEAAPEAVCCObject@2@I@Z; cocos2d::CCArray::objectAtIndex(uint) ; +0x89, 0x1402727e9 mov ecx, [rbx+3F0h] ; +0x8f, 0x1402727ef test ecx, ecx ; +0x95, 0x1402727f5 cmovs ecx, ebp ; +0x97, 0x1402727f7 cmp ecx, esi ; +0x9a, 0x1402727fa cmovg ecx, esi ; +0x9c, 0x1402727fc inc edi ; +0x9f, 0x1402727ff mov [rax+5C8h], ecx ; +0xa1, 0x140272801 mov rcx, [rbx+298h] ; +0xa7, 0x140272807 call cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0xae, 0x14027280e cmp edi, eax ; +0xb4, 0x140272814 jb short loc_1402727E0 ; +0xb6, 0x140272816 mov rdi, [rsp+28h+arg_0] ; +0xb8, 0x140272818 mov rbx, [rsp+28h+arg_8] ; +0xbd, 0x14027281d mov rbp, [rsp+28h+arg_10] ; +0xc2, 0x140272822 add rsp, 20h ; +0xc7, 0x140272827 pop rsi ; +0xcb, 0x14027282b retn ; +0xcc, 0x14027282c