; ; GJFollowCommandLayer::updateTargetGroupID2 from 0x140272830 to 0x1402728fd (205 bytes) ; ; 3 xrefs: ; > GJFollowCommandLayer::onUpdateGroupID2 @ 0x14027210f ; > GJFollowCommandLayer::textChanged @ 0x14027223e ; > @ 0x1406d0e78 ; ; 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, 0x140272830 mov [rsp+arg_10], rbp ; +0x5, 0x140272835 push rsi ; +0xa, 0x14027283a sub rsp, 20h ; +0xb, 0x14027283b mov eax, [rcx+400h] ; +0xf, 0x14027283f xor ebp, ebp ; +0x15, 0x140272845 test eax, eax ; +0x17, 0x140272847 mov esi, 270Fh ; +0x19, 0x140272849 mov edx, ebp ; +0x1e, 0x14027284e mov rbx, rcx ; +0x20, 0x140272850 cmovns edx, eax ; +0x23, 0x140272853 mov rax, [rcx+290h] ; +0x26, 0x140272856 cmp edx, esi ; +0x2d, 0x14027285d cmovg edx, esi ; +0x2f, 0x14027285f mov [rcx+400h], edx ; +0x32, 0x140272862 test rax, rax ; +0x38, 0x140272868 jz short loc_14027288D ; +0x3b, 0x14027286b test edx, edx ; +0x3d, 0x14027286d cmovs edx, ebp ; +0x3f, 0x14027286f cmp edx, esi ; +0x42, 0x140272872 cmovg edx, esi ; +0x44, 0x140272874 mov [rax+5CCh], edx ; +0x47, 0x140272877 mov rbx, [rsp+28h+arg_8] ; +0x4d, 0x14027287d mov rbp, [rsp+28h+arg_10] ; +0x52, 0x140272882 add rsp, 20h ; +0x57, 0x140272887 pop rsi ; +0x5b, 0x14027288b retn ; +0x5c, 0x14027288c mov rcx, [rcx+298h] ; +0x5d, 0x14027288d mov [rsp+28h+arg_0], rdi ; +0x64, 0x140272894 mov edi, ebp ; +0x69, 0x140272899 call cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x6b, 0x14027289b test eax, eax ; +0x71, 0x1402728a1 jz short loc_1402728E8 ; +0x73, 0x1402728a3 nop word ptr [rax+rax+00000000h] ; +0x75, 0x1402728a5 mov rcx, [rbx+298h] ; +0x80, 0x1402728b0 mov edx, edi ; +0x87, 0x1402728b7 call cs:?objectAtIndex@CCArray@cocos2d@@QEAAPEAVCCObject@2@I@Z; cocos2d::CCArray::objectAtIndex(uint) ; +0x89, 0x1402728b9 mov ecx, [rbx+400h] ; +0x8f, 0x1402728bf test ecx, ecx ; +0x95, 0x1402728c5 cmovs ecx, ebp ; +0x97, 0x1402728c7 cmp ecx, esi ; +0x9a, 0x1402728ca cmovg ecx, esi ; +0x9c, 0x1402728cc inc edi ; +0x9f, 0x1402728cf mov [rax+5CCh], ecx ; +0xa1, 0x1402728d1 mov rcx, [rbx+298h] ; +0xa7, 0x1402728d7 call cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0xae, 0x1402728de cmp edi, eax ; +0xb4, 0x1402728e4 jb short loc_1402728B0 ; +0xb6, 0x1402728e6 mov rdi, [rsp+28h+arg_0] ; +0xb8, 0x1402728e8 mov rbx, [rsp+28h+arg_8] ; +0xbd, 0x1402728ed mov rbp, [rsp+28h+arg_10] ; +0xc2, 0x1402728f2 add rsp, 20h ; +0xc7, 0x1402728f7 pop rsi ; +0xcb, 0x1402728fb retn ; +0xcc, 0x1402728fc