; ; EditorUI::onSettings from 0x1401ac4f0 to 0x1401ac75a (618 bytes) ; ; 2 xrefs: ; > EditorUI::init @ 0x1401ab286 ; > @ 0x140919d0c ; ; 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:27:53 +0000 ; mov [rsp+arg_8], rbx ; +0x0, 0x1401ac4f0 mov [rsp+arg_10], rbp ; +0x5, 0x1401ac4f5 push rsi ; +0xa, 0x1401ac4fa push rdi ; +0xb, 0x1401ac4fb push r14 ; +0xc, 0x1401ac4fc sub rsp, 20h ; +0xe, 0x1401ac4fe mov rbp, rcx ; +0x12, 0x1401ac502 cmp byte ptr [rcx+67Ch], 0 ; +0x15, 0x1401ac505 jnz loc_1401AC747 ; +0x1c, 0x1401ac50c mov rax, [rcx+5E8h] ; +0x22, 0x1401ac512 mov rcx, [rax+878h] ; +0x29, 0x1401ac519 test rcx, rcx ; +0x30, 0x1401ac520 jz short loc_1401AC532 ; +0x33, 0x1401ac523 cmp dword ptr [rcx+4C4h], 2 ; +0x35, 0x1401ac525 jnz loc_1401AC747 ; +0x3c, 0x1401ac52c call EditorSFXManager__sharedState ; +0x42, 0x1401ac532 mov rcx, rax ; +0x47, 0x1401ac537 mov edx, 0DCh ; +0x4a, 0x1401ac53a call EditorSFXManager__playAction ; +0x4f, 0x1401ac53f mov rbx, [rbp+5E8h] ; +0x54, 0x1401ac544 mov rdi, [rbx+0DC8h] ; +0x5b, 0x1401ac54b mov ecx, 388h; Size ; +0x62, 0x1401ac552 call ??2@YAPEAX_K@Z; operator new(unsigned __int64) ; +0x67, 0x1401ac557 mov rsi, rax ; +0x6c, 0x1401ac55c mov [rsp+38h+arg_0], rax ; +0x6f, 0x1401ac55f mov rcx, rax ; +0x74, 0x1401ac564 call FLAlertLayer__FLAlertLayer ; +0x77, 0x1401ac567 lea rax, ??_7LevelSettingsLayer@@6B@; const LevelSettingsLayer::`vftable' ; +0x7c, 0x1401ac56c mov [rsi], rax ; +0x83, 0x1401ac573 lea rax, ??_7LevelSettingsLayer@@6B@_0; const LevelSettingsLayer::`vftable' ; +0x86, 0x1401ac576 mov [rsi+140h], rax ; +0x8d, 0x1401ac57d lea rax, ??_7LevelSettingsLayer@@6B@_1; const LevelSettingsLayer::`vftable' ; +0x94, 0x1401ac584 mov [rsi+148h], rax ; +0x9b, 0x1401ac58b lea rax, ??_7LevelSettingsLayer@@6B@_2; const LevelSettingsLayer::`vftable' ; +0xa2, 0x1401ac592 mov [rsi+150h], rax ; +0xa9, 0x1401ac599 lea rax, ??_7LevelSettingsLayer@@6B@_3; const LevelSettingsLayer::`vftable' ; +0xb0, 0x1401ac5a0 mov [rsi+158h], rax ; +0xb7, 0x1401ac5a7 lea rax, ??_7LevelSettingsLayer@@6B@_4; const LevelSettingsLayer::`vftable' ; +0xbe, 0x1401ac5ae mov [rsi+160h], rax ; +0xc5, 0x1401ac5b5 lea rax, ??_7LevelSettingsLayer@@6B@_5; const LevelSettingsLayer::`vftable' ; +0xcc, 0x1401ac5bc mov [rsi+198h], rax ; +0xd3, 0x1401ac5c3 lea rax, ??_7LevelSettingsLayer@@6B@_6; const LevelSettingsLayer::`vftable' ; +0xda, 0x1401ac5ca mov [rsi+1B0h], rax ; +0xe1, 0x1401ac5d1 lea rax, ??_7LevelSettingsLayer@@6B@_7; const LevelSettingsLayer::`vftable' ; +0xe8, 0x1401ac5d8 mov [rsi+220h], rax ; +0xef, 0x1401ac5df lea rax, ??_7LevelSettingsLayer@@6B@_8; const LevelSettingsLayer::`vftable' ; +0xf6, 0x1401ac5e6 mov [rsi+298h], rax ; +0xfd, 0x1401ac5ed lea rax, ??_7LevelSettingsLayer@@6B@_9; const LevelSettingsLayer::`vftable' ; +0x104, 0x1401ac5f4 mov [rsi+2A0h], rax ; +0x10b, 0x1401ac5fb lea rax, ??_7LevelSettingsLayer@@6B@_10; const LevelSettingsLayer::`vftable' ; +0x112, 0x1401ac602 mov [rsi+2A8h], rax ; +0x119, 0x1401ac609 lea rax, ??_7LevelSettingsLayer@@6B@_11; const LevelSettingsLayer::`vftable' ; +0x120, 0x1401ac610 mov [rsi+2B0h], rax ; +0x127, 0x1401ac617 lea rax, ??_7LevelSettingsLayer@@6B@_12; const LevelSettingsLayer::`vftable' ; +0x12e, 0x1401ac61e mov [rsi+2B8h], rax ; +0x135, 0x1401ac625 xor r14d, r14d ; +0x13c, 0x1401ac62c mov [rsi+2C0h], r14 ; +0x13f, 0x1401ac62f mov [rsi+2C8h], r14d ; +0x146, 0x1401ac636 mov [rsi+2D0h], r14 ; +0x14d, 0x1401ac63d mov [rsi+2D8h], r14 ; +0x154, 0x1401ac644 mov [rsi+2E0h], r14 ; +0x15b, 0x1401ac64b mov [rsi+2E8h], r14 ; +0x162, 0x1401ac652 mov [rsi+2F0h], r14 ; +0x169, 0x1401ac659 mov [rsi+2F8h], r14 ; +0x170, 0x1401ac660 mov [rsi+300h], r14 ; +0x177, 0x1401ac667 mov [rsi+308h], r14 ; +0x17e, 0x1401ac66e mov [rsi+310h], r14 ; +0x185, 0x1401ac675 mov [rsi+318h], r14 ; +0x18c, 0x1401ac67c mov [rsi+320h], r14 ; +0x193, 0x1401ac683 mov [rsi+328h], r14 ; +0x19a, 0x1401ac68a mov [rsi+330h], r14 ; +0x1a1, 0x1401ac691 mov [rsi+338h], r14 ; +0x1a8, 0x1401ac698 mov [rsi+340h], r14 ; +0x1af, 0x1401ac69f mov [rsi+348h], r14 ; +0x1b6, 0x1401ac6a6 mov [rsi+350h], r14 ; +0x1bd, 0x1401ac6ad mov [rsi+358h], r14 ; +0x1c4, 0x1401ac6b4 mov [rsi+360h], r14 ; +0x1cb, 0x1401ac6bb mov [rsi+368h], r14 ; +0x1d2, 0x1401ac6c2 mov [rsi+370h], r14 ; +0x1d9, 0x1401ac6c9 mov [rsi+378h], r14 ; +0x1e0, 0x1401ac6d0 mov [rsi+380h], r14b ; +0x1e7, 0x1401ac6d7 mov r8, rbx ; +0x1ee, 0x1401ac6de mov rdx, rdi ; +0x1f1, 0x1401ac6e1 mov rcx, rsi ; +0x1f4, 0x1401ac6e4 call LevelSettingsLayer__init ; +0x1f7, 0x1401ac6e7 mov rcx, rsi ; +0x1fc, 0x1401ac6ec test al, al ; +0x1ff, 0x1401ac6ef jz short loc_1401AC6FB ; +0x201, 0x1401ac6f1 call cs:?autorelease@CCObject@cocos2d@@QEAAPEAV12@XZ; cocos2d::CCObject::autorelease(void) ; +0x203, 0x1401ac6f3 jmp short loc_1401AC709 ; +0x209, 0x1401ac6f9 mov rax, [rsi] ; +0x20b, 0x1401ac6fb mov edx, 1 ; +0x20e, 0x1401ac6fe call qword ptr [rax+8] ; +0x213, 0x1401ac703 mov rsi, r14 ; +0x216, 0x1401ac706 mov rax, [rbp+5E8h] ; +0x219, 0x1401ac709 lea rdx, [rax+3938h] ; +0x220, 0x1401ac710 test rax, rax ; +0x227, 0x1401ac717 cmovz rdx, r14 ; +0x22a, 0x1401ac71a mov [rsi+350h], rdx ; +0x22e, 0x1401ac71e mov rax, [rsi] ; +0x235, 0x1401ac725 mov rdx, [rax+428h] ; +0x238, 0x1401ac728 lea rax, FLAlertLayer__show ; +0x23f, 0x1401ac72f mov rcx, rsi ; +0x246, 0x1401ac736 cmp rdx, rax ; +0x249, 0x1401ac739 jnz short loc_1401AC745 ; +0x24c, 0x1401ac73c call FLAlertLayer__show ; +0x24e, 0x1401ac73e jmp short loc_1401AC747 ; +0x253, 0x1401ac743 call rdx ; +0x255, 0x1401ac745 mov rbx, [rsp+38h+arg_8] ; +0x257, 0x1401ac747 mov rbp, [rsp+38h+arg_10] ; +0x25c, 0x1401ac74c add rsp, 20h ; +0x261, 0x1401ac751 pop r14 ; +0x265, 0x1401ac755 pop rdi ; +0x267, 0x1401ac757 pop rsi ; +0x268, 0x1401ac758 retn ; +0x269, 0x1401ac759