; ; GJColorSetupLayer::create from 0x140255f50 to 0x140256085 (309 bytes) ; ; 3 xrefs: ; > CustomizeObjectLayer::onBrowse @ 0x1400a8362 ; > LevelSettingsLayer::onCol @ 0x1403219eb ; > @ 0x1406cf948 ; ; 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_0], rbx ; +0x0, 0x140255f50 mov [rsp+arg_10], rsi ; +0x5, 0x140255f55 push rdi ; +0xa, 0x140255f5a sub rsp, 20h ; +0xb, 0x140255f5b mov rbx, rcx ; +0xf, 0x140255f5f mov ecx, 2E8h; Size ; +0x12, 0x140255f62 call ??2@YAPEAX_K@Z; operator new(unsigned __int64) ; +0x17, 0x140255f67 mov rdi, rax ; +0x1c, 0x140255f6c mov [rsp+28h+arg_8], rax ; +0x1f, 0x140255f6f mov rcx, rax ; +0x24, 0x140255f74 call FLAlertLayer__FLAlertLayer ; +0x27, 0x140255f77 lea rax, ??_7GJColorSetupLayer@@6B@; const GJColorSetupLayer::`vftable' ; +0x2c, 0x140255f7c mov [rdi], rax ; +0x33, 0x140255f83 lea rax, ??_7GJColorSetupLayer@@6B@_0; const GJColorSetupLayer::`vftable' ; +0x36, 0x140255f86 mov [rdi+140h], rax ; +0x3d, 0x140255f8d lea rax, ??_7GJColorSetupLayer@@6B@_1; const GJColorSetupLayer::`vftable' ; +0x44, 0x140255f94 mov [rdi+148h], rax ; +0x4b, 0x140255f9b lea rax, ??_7GJColorSetupLayer@@6B@_2; const GJColorSetupLayer::`vftable' ; +0x52, 0x140255fa2 mov [rdi+150h], rax ; +0x59, 0x140255fa9 lea rax, ??_7GJColorSetupLayer@@6B@_3; const GJColorSetupLayer::`vftable' ; +0x60, 0x140255fb0 mov [rdi+158h], rax ; +0x67, 0x140255fb7 lea rax, ??_7GJColorSetupLayer@@6B@_4; const GJColorSetupLayer::`vftable' ; +0x6e, 0x140255fbe mov [rdi+160h], rax ; +0x75, 0x140255fc5 lea rax, ??_7GJColorSetupLayer@@6B@_5; const GJColorSetupLayer::`vftable' ; +0x7c, 0x140255fcc mov [rdi+198h], rax ; +0x83, 0x140255fd3 lea rax, ??_7GJColorSetupLayer@@6B@_6; const GJColorSetupLayer::`vftable' ; +0x8a, 0x140255fda mov [rdi+1B0h], rax ; +0x91, 0x140255fe1 lea rax, ??_7GJColorSetupLayer@@6B@_7; const GJColorSetupLayer::`vftable' ; +0x98, 0x140255fe8 mov [rdi+278h], rax ; +0x9f, 0x140255fef lea rax, ??_7GJColorSetupLayer@@6B@_8; const GJColorSetupLayer::`vftable' ; +0xa6, 0x140255ff6 mov [rdi+280h], rax ; +0xad, 0x140255ffd xor esi, esi ; +0xb4, 0x140256004 mov [rdi+288h], rsi ; +0xb6, 0x140256006 mov [rdi+290h], rsi ; +0xbd, 0x14025600d mov [rdi+298h], rsi ; +0xc4, 0x140256014 mov [rdi+2B0h], esi ; +0xcb, 0x14025601b mov [rdi+2B8h], esi ; +0xd1, 0x140256021 mov [rdi+2D0h], sil ; +0xd7, 0x140256027 mov [rdi+2D8h], rsi ; +0xde, 0x14025602e mov [rdi+2E0h], esi ; +0xe5, 0x140256035 mov rdx, rbx ; +0xeb, 0x14025603b mov rcx, rdi ; +0xee, 0x14025603e call GJColorSetupLayer__init ; +0xf1, 0x140256041 mov rcx, rdi ; +0xf6, 0x140256046 test al, al ; +0xf9, 0x140256049 jz short loc_140256066 ; +0xfb, 0x14025604b call cs:?autorelease@CCObject@cocos2d@@QEAAPEAV12@XZ; cocos2d::CCObject::autorelease(void) ; +0xfd, 0x14025604d mov rax, rdi ; +0x103, 0x140256053 mov rbx, [rsp+28h+arg_0] ; +0x106, 0x140256056 mov rsi, [rsp+28h+arg_10] ; +0x10b, 0x14025605b add rsp, 20h ; +0x110, 0x140256060 pop rdi ; +0x114, 0x140256064 retn ; +0x115, 0x140256065 mov r8, [rdi] ; +0x116, 0x140256066 mov edx, 1 ; +0x119, 0x140256069 call qword ptr [r8+8] ; +0x11e, 0x14025606e mov rax, rsi ; +0x122, 0x140256072 mov rbx, [rsp+28h+arg_0] ; +0x125, 0x140256075 mov rsi, [rsp+28h+arg_10] ; +0x12a, 0x14025607a add rsp, 20h ; +0x12f, 0x14025607f pop rdi ; +0x133, 0x140256083 retn ; +0x134, 0x140256084