; ; GameOptionsLayer::onUIPOptions from 0x1402a0410 to 0x1402a055d (333 bytes) ; ; 2 xrefs: ; > GameOptionsLayer::setupOptions @ 0x14029f96b ; > @ 0x1406d1f58 ; ; 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 ; push rbx ; +0x0, 0x1402a0410 sub rsp, 20h ; +0x2, 0x1402a0412 mov ecx, 3C8h; Size ; +0x6, 0x1402a0416 call ??2@YAPEAX_K@Z; operator new(unsigned __int64) ; +0xb, 0x1402a041b mov rbx, rax ; +0x10, 0x1402a0420 mov [rsp+28h+arg_10], rax ; +0x13, 0x1402a0423 mov rcx, rax ; +0x18, 0x1402a0428 call SetupTriggerPopup__SetupTriggerPopup ; +0x1b, 0x1402a042b nop ; +0x20, 0x1402a0430 lea rax, ??_7UIPOptionsLayer@@6B@; const UIPOptionsLayer::`vftable' ; +0x21, 0x1402a0431 mov [rbx], rax ; +0x28, 0x1402a0438 lea rax, ??_7UIPOptionsLayer@@6B@_0; const UIPOptionsLayer::`vftable' ; +0x2b, 0x1402a043b mov [rbx+140h], rax ; +0x32, 0x1402a0442 lea rax, ??_7UIPOptionsLayer@@6B@_1; const UIPOptionsLayer::`vftable' ; +0x39, 0x1402a0449 mov [rbx+148h], rax ; +0x40, 0x1402a0450 lea rax, ??_7UIPOptionsLayer@@6B@_2; const UIPOptionsLayer::`vftable' ; +0x47, 0x1402a0457 mov [rbx+150h], rax ; +0x4e, 0x1402a045e lea rax, ??_7UIPOptionsLayer@@6B@_3; const UIPOptionsLayer::`vftable' ; +0x55, 0x1402a0465 mov [rbx+158h], rax ; +0x5c, 0x1402a046c lea rax, ??_7UIPOptionsLayer@@6B@_4; const UIPOptionsLayer::`vftable' ; +0x63, 0x1402a0473 mov [rbx+160h], rax ; +0x6a, 0x1402a047a lea rax, ??_7UIPOptionsLayer@@6B@_5; const UIPOptionsLayer::`vftable' ; +0x71, 0x1402a0481 mov [rbx+198h], rax ; +0x78, 0x1402a0488 lea rax, ??_7UIPOptionsLayer@@6B@_6; const UIPOptionsLayer::`vftable' ; +0x7f, 0x1402a048f mov [rbx+1B0h], rax ; +0x86, 0x1402a0496 lea rax, ??_7UIPOptionsLayer@@6B@_7; const UIPOptionsLayer::`vftable' ; +0x8d, 0x1402a049d mov [rbx+278h], rax ; +0x94, 0x1402a04a4 lea rax, ??_7UIPOptionsLayer@@6B@_8; const UIPOptionsLayer::`vftable' ; +0x9b, 0x1402a04ab mov [rbx+280h], rax ; +0xa2, 0x1402a04b2 lea rax, ??_7UIPOptionsLayer@@6B@_9; const UIPOptionsLayer::`vftable' ; +0xa9, 0x1402a04b9 mov [rbx+288h], rax ; +0xb0, 0x1402a04c0 mov dword ptr [rbx+3A8h], 0FFFFFFFFh ; +0xb7, 0x1402a04c7 mov qword ptr [rbx+3B0h], 0 ; +0xc1, 0x1402a04d1 lea rcx, [rbx+3B8h] ; +0xcc, 0x1402a04dc call cs:??0CCPoint@cocos2d@@QEAA@XZ; cocos2d::CCPoint::CCPoint(void) ; +0xd3, 0x1402a04e3 lea rcx, [rbx+3C0h] ; +0xd9, 0x1402a04e9 call cs:??0CCPoint@cocos2d@@QEAA@XZ; cocos2d::CCPoint::CCPoint(void) ; +0xe0, 0x1402a04f0 nop ; +0xe6, 0x1402a04f6 mov rax, [rbx] ; +0xe7, 0x1402a04f7 mov rdx, [rax+48h] ; +0xea, 0x1402a04fa lea rax, UIPOptionsLayer__init ; +0xee, 0x1402a04fe mov rcx, rbx ; +0xf5, 0x1402a0505 cmp rdx, rax ; +0xf8, 0x1402a0508 jnz short loc_1402A0514 ; +0xfb, 0x1402a050b call UIPOptionsLayer__init ; +0xfd, 0x1402a050d jmp short loc_1402A0516 ; +0x102, 0x1402a0512 call rdx ; +0x104, 0x1402a0514 mov rcx, rbx ; +0x106, 0x1402a0516 test al, al ; +0x109, 0x1402a0519 jz short loc_1402A0525 ; +0x10b, 0x1402a051b call cs:?autorelease@CCObject@cocos2d@@QEAAPEAV12@XZ; cocos2d::CCObject::autorelease(void) ; +0x10d, 0x1402a051d jmp short loc_1402A0532 ; +0x113, 0x1402a0523 mov rax, [rbx] ; +0x115, 0x1402a0525 mov edx, 1 ; +0x118, 0x1402a0528 call qword ptr [rax+8] ; +0x11d, 0x1402a052d xor ebx, ebx ; +0x120, 0x1402a0530 mov rax, [rbx] ; +0x122, 0x1402a0532 mov rdx, [rax+410h] ; +0x125, 0x1402a0535 lea rax, CollisionBlockPopup__show; Merged with: CollisionBlockPopup::show, ColorSelectLiveOverlay::show, SetupTriggerPopup::show, HSVLiveOverlay::show, SetTextPopup::show, SetupObjectOptionsPopup::show, SetupSmartBlockLayer::show ; +0x12c, 0x1402a053c mov rcx, rbx ; +0x133, 0x1402a0543 cmp rdx, rax ; +0x136, 0x1402a0546 jnz short loc_1402A0555 ; +0x139, 0x1402a0549 add rsp, 20h ; +0x13b, 0x1402a054b pop rbx ; +0x13f, 0x1402a054f jmp CollisionBlockPopup__show; Merged with: CollisionBlockPopup::show, ColorSelectLiveOverlay::show, SetupTriggerPopup::show, HSVLiveOverlay::show, SetTextPopup::show, SetupObjectOptionsPopup::show, SetupSmartBlockLayer::show ; +0x140, 0x1402a0550 add rsp, 20h ; +0x145, 0x1402a0555 pop rbx ; +0x149, 0x1402a0559 jmp rdx ; +0x14a, 0x1402a055a