; ; EditorUI::editGroup from 0x14011f260 to 0x14011f490 (560 bytes) ; ; 2 xrefs: ; > EditorUI::init @ 0x1400e0f45 ; > @ 0x1406c9534 ; ; 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, 0x14011f260 mov [rsp+arg_10], rbp ; +0x5, 0x14011f265 push rsi ; +0xa, 0x14011f26a push rdi ; +0xb, 0x14011f26b push r14 ; +0xc, 0x14011f26c sub rsp, 60h ; +0xe, 0x14011f26e mov rbp, rcx ; +0x12, 0x14011f272 cmp qword ptr [rcx+538h], 0 ; +0x15, 0x14011f275 jnz short loc_14011F294 ; +0x1d, 0x14011f27d mov rcx, [rcx+340h] ; +0x1f, 0x14011f27f call cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x26, 0x14011f286 test eax, eax ; +0x2c, 0x14011f28c jz loc_14011F47B ; +0x2e, 0x14011f28e mov rbx, [rbp+340h] ; +0x34, 0x14011f294 mov rdi, [rbp+538h] ; +0x3b, 0x14011f29b mov ecx, 318h; Size ; +0x42, 0x14011f2a2 call ??2@YAPEAX_K@Z; operator new(unsigned __int64) ; +0x47, 0x14011f2a7 mov rsi, rax ; +0x4c, 0x14011f2ac mov [rsp+78h+arg_0], rax ; +0x4f, 0x14011f2af mov rcx, rax ; +0x57, 0x14011f2b7 call FLAlertLayer__FLAlertLayer ; +0x5a, 0x14011f2ba lea rax, ??_7SetGroupIDLayer@@6B@; const SetGroupIDLayer::`vftable' ; +0x5f, 0x14011f2bf mov [rsi], rax ; +0x66, 0x14011f2c6 lea rax, ??_7SetGroupIDLayer@@6B@_0; const SetGroupIDLayer::`vftable' ; +0x69, 0x14011f2c9 mov [rsi+140h], rax ; +0x70, 0x14011f2d0 lea rax, ??_7SetGroupIDLayer@@6B@_1; const SetGroupIDLayer::`vftable' ; +0x77, 0x14011f2d7 mov [rsi+148h], rax ; +0x7e, 0x14011f2de lea rax, ??_7SetGroupIDLayer@@6B@_2; const SetGroupIDLayer::`vftable' ; +0x85, 0x14011f2e5 mov [rsi+150h], rax ; +0x8c, 0x14011f2ec lea rax, ??_7SetGroupIDLayer@@6B@_3; const SetGroupIDLayer::`vftable' ; +0x93, 0x14011f2f3 mov [rsi+158h], rax ; +0x9a, 0x14011f2fa lea rax, ??_7SetGroupIDLayer@@6B@_4; const SetGroupIDLayer::`vftable' ; +0xa1, 0x14011f301 mov [rsi+160h], rax ; +0xa8, 0x14011f308 lea rax, ??_7SetGroupIDLayer@@6B@_5; const SetGroupIDLayer::`vftable' ; +0xaf, 0x14011f30f mov [rsi+198h], rax ; +0xb6, 0x14011f316 lea rax, ??_7SetGroupIDLayer@@6B@_6; const SetGroupIDLayer::`vftable' ; +0xbd, 0x14011f31d mov [rsi+1B0h], rax ; +0xc4, 0x14011f324 lea rax, ??_7SetGroupIDLayer@@6B@_7; const SetGroupIDLayer::`vftable' ; +0xcb, 0x14011f32b mov [rsi+278h], rax ; +0xd2, 0x14011f332 lea rax, ??_7SetGroupIDLayer@@6B@_8; const SetGroupIDLayer::`vftable' ; +0xd9, 0x14011f339 mov [rsi+280h], rax ; +0xe0, 0x14011f340 xor r14d, r14d ; +0xe7, 0x14011f347 mov [rsi+288h], r14 ; +0xea, 0x14011f34a mov [rsi+290h], r14 ; +0xf1, 0x14011f351 mov [rsi+2A8h], r14 ; +0xf8, 0x14011f358 mov [rsi+2B0h], r14 ; +0xff, 0x14011f35f mov [rsi+2B8h], r14 ; +0x106, 0x14011f366 mov [rsi+2C0h], r14 ; +0x10d, 0x14011f36d mov [rsi+2C8h], r14 ; +0x114, 0x14011f374 mov [rsi+2D0h], r14 ; +0x11b, 0x14011f37b mov [rsi+2D8h], r14b ; +0x122, 0x14011f382 mov [rsi+2DCh], r14d ; +0x129, 0x14011f389 mov [rsi+2E0h], r14b ; +0x130, 0x14011f390 mov [rsi+2E4h], r14 ; +0x137, 0x14011f397 mov [rsi+2ECh], r14d ; +0x13e, 0x14011f39e mov dword ptr [rsi+2F0h], 0FFFFFC18h ; +0x145, 0x14011f3a5 mov [rsi+2F4h], r14 ; +0x14f, 0x14011f3af mov [rsi+2FCh], r14w ; +0x156, 0x14011f3b6 mov [rsi+2FEh], r14b ; +0x15e, 0x14011f3be mov [rsi+304h], r14w ; +0x165, 0x14011f3c5 mov [rsi+307h], r14w ; +0x16d, 0x14011f3cd mov [rsi+30Ch], r14d ; +0x175, 0x14011f3d5 mov [rsi+310h], r14 ; +0x17c, 0x14011f3dc mov r8, rbx ; +0x183, 0x14011f3e3 mov rdx, rdi ; +0x186, 0x14011f3e6 mov rcx, rsi ; +0x189, 0x14011f3e9 call SetGroupIDLayer__init ; +0x18c, 0x14011f3ec mov rcx, rsi ; +0x191, 0x14011f3f1 test al, al ; +0x194, 0x14011f3f4 jz short loc_14011F400 ; +0x196, 0x14011f3f6 call cs:?autorelease@CCObject@cocos2d@@QEAAPEAV12@XZ; cocos2d::CCObject::autorelease(void) ; +0x198, 0x14011f3f8 jmp short loc_14011F40E ; +0x19e, 0x14011f3fe mov rax, [rsi] ; +0x1a0, 0x14011f400 mov edx, 1 ; +0x1a3, 0x14011f403 call qword ptr [rax+8] ; +0x1a8, 0x14011f408 mov rsi, r14 ; +0x1ab, 0x14011f40b mov dword ptr [rsp+78h+arg_0], 0 ; +0x1ae, 0x14011f40e lea rdx, [rsp+78h+arg_0] ; +0x1b9, 0x14011f419 lea rcx, [rsp+78h+var_58] ; +0x1c1, 0x14011f421 call sub_14005E660 ; +0x1c6, 0x14011f426 nop ; +0x1cb, 0x14011f42b lea rdx, [rsp+78h+var_58] ; +0x1cc, 0x14011f42c mov rcx, [rbp+500h] ; +0x1d1, 0x14011f431 call LevelEditorLayer__getNextFreeGroupID ; +0x1d8, 0x14011f438 mov ebx, eax ; +0x1dd, 0x14011f43d lea rcx, [rsp+78h+var_40] ; +0x1df, 0x14011f43f call sub_14005D100 ; +0x1e4, 0x14011f444 lea rcx, [rsp+78h+var_50] ; +0x1e9, 0x14011f449 call sub_14005D870 ; +0x1ee, 0x14011f44e mov [rsi+30Ch], ebx ; +0x1f3, 0x14011f453 mov rax, [rsi] ; +0x1f9, 0x14011f459 mov rdx, [rax+410h] ; +0x1fc, 0x14011f45c lea rax, FLAlertLayer__show ; +0x203, 0x14011f463 mov rcx, rsi ; +0x20a, 0x14011f46a cmp rdx, rax ; +0x20d, 0x14011f46d jnz short loc_14011F479 ; +0x210, 0x14011f470 call FLAlertLayer__show ; +0x212, 0x14011f472 jmp short loc_14011F47B ; +0x217, 0x14011f477 call rdx ; +0x219, 0x14011f479 lea r11, [rsp+78h+var_18] ; +0x21b, 0x14011f47b mov rbx, [r11+28h] ; +0x220, 0x14011f480 mov rbp, [r11+30h] ; +0x224, 0x14011f484 mov rsp, r11 ; +0x228, 0x14011f488 pop r14 ; +0x22b, 0x14011f48b pop rdi ; +0x22d, 0x14011f48d pop rsi ; +0x22e, 0x14011f48e retn ; +0x22f, 0x14011f48f