; ; GJGarageLayer::selectTab from 0x140275fd0 to 0x140276088 (184 bytes) ; ; 5 xrefs: ; > GJGarageLayer::setupIconSelect @ 0x140275e48 ; > GJGarageLayer::onSelectTab @ 0x140275fbc ; > @ 0x140686fbc ; > @ 0x140686fcc ; > @ 0x1406d0f50 ; ; 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_18], rbp ; +0x0, 0x140275fd0 mov [rsp+arg_8], edx ; +0x5, 0x140275fd5 push rsi ; +0x9, 0x140275fd9 sub rsp, 20h ; +0xa, 0x140275fda mov rsi, rcx ; +0xe, 0x140275fde xor ebp, ebp ; +0x11, 0x140275fe1 mov rcx, [rcx+1E0h] ; +0x13, 0x140275fe3 call cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x1a, 0x140275fea test eax, eax ; +0x20, 0x140275ff0 jz short loc_14027605D ; +0x22, 0x140275ff2 mov [rsp+28h+arg_0], rbx ; +0x24, 0x140275ff4 mov [rsp+28h+arg_10], rdi ; +0x29, 0x140275ff9 xchg ax, ax ; +0x2e, 0x140275ffe mov rcx, [rsi+1E0h] ; +0x30, 0x140276000 mov edx, ebp ; +0x37, 0x140276007 call cs:?objectAtIndex@CCArray@cocos2d@@QEAAPEAVCCObject@2@I@Z; cocos2d::CCArray::objectAtIndex(uint) ; +0x39, 0x140276009 mov rcx, rax ; +0x3f, 0x14027600f mov rdi, rax ; +0x42, 0x140276012 mov rdx, [rax] ; +0x45, 0x140276015 call qword ptr [rdx+38h] ; +0x48, 0x140276018 cmp [rsp+28h+arg_8], eax ; +0x4b, 0x14027601b mov rcx, rdi ; +0x4f, 0x14027601f mov ebx, eax ; +0x52, 0x140276022 setz dl ; +0x54, 0x140276024 call CCMenuItemToggler__toggle ; +0x57, 0x140276027 cmp [rsp+28h+arg_8], ebx ; +0x5c, 0x14027602c mov rcx, rdi ; +0x60, 0x140276030 mov r8, [rdi] ; +0x63, 0x140276033 setnz dl ; +0x66, 0x140276036 call qword ptr [r8+398h] ; +0x69, 0x140276039 mov rcx, [rsi+1E0h] ; +0x70, 0x140276040 inc ebp ; +0x77, 0x140276047 call cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x79, 0x140276049 cmp ebp, eax ; +0x7f, 0x14027604f jb short loc_140276000 ; +0x81, 0x140276051 mov rdi, [rsp+28h+arg_10] ; +0x83, 0x140276053 mov rbx, [rsp+28h+arg_0] ; +0x88, 0x140276058 lea rcx, [rsi+208h] ; +0x8d, 0x14027605d lea rdx, [rsp+28h+arg_8] ; +0x94, 0x140276064 call sub_14012CE70 ; +0x99, 0x140276069 mov r8d, [rsp+28h+arg_8] ; +0x9e, 0x14027606e mov rcx, rsi ; +0xa3, 0x140276073 mov edx, [rax] ; +0xa6, 0x140276076 call GJGarageLayer__setupPage ; +0xa8, 0x140276078 mov rbp, [rsp+28h+arg_18] ; +0xad, 0x14027607d add rsp, 20h ; +0xb2, 0x140276082 pop rsi ; +0xb6, 0x140276086 retn ; +0xb7, 0x140276087