; ; AchievementsLayer::keyDown from 0x1400822b0 to 0x140082343 (147 bytes) ; ; 2 xrefs: ; > @ 0x14053bf68 ; > @ 0x1406c6a14 ; ; 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, 0x1400822b0 sub rsp, 20h ; +0x2, 0x1400822b2 mov r8d, edx ; +0x6, 0x1400822b6 mov rbx, rcx ; +0x9, 0x1400822b9 sub r8d, 25h ; '%' ; +0xc, 0x1400822bc jz short loc_140082310 ; +0x10, 0x1400822c0 sub r8d, 2 ; +0x12, 0x1400822c2 jz short loc_1400822E3 ; +0x16, 0x1400822c6 sub r8d, 3DAh ; +0x18, 0x1400822c8 jz short loc_140082310 ; +0x1f, 0x1400822cf cmp r8d, 2 ; +0x21, 0x1400822d1 jz short loc_1400822E3 ; +0x25, 0x1400822d5 add rsp, 20h ; +0x27, 0x1400822d7 pop rbx ; +0x2b, 0x1400822db jmp cs:__imp_?keyDown@CCLayer@cocos2d@@UEAAXW4enumKeyCodes@2@N@Z; cocos2d::CCLayer::keyDown(cocos2d::enumKeyCodes,double) ; +0x2c, 0x1400822dc mov rcx, [rcx+110h] ; +0x33, 0x1400822e3 mov rax, [rcx] ; +0x3a, 0x1400822ea call qword ptr [rax+148h] ; +0x3d, 0x1400822ed test al, al ; +0x43, 0x1400822f3 jz short loc_14008233D ; +0x45, 0x1400822f5 mov edx, [rbx+108h] ; +0x47, 0x1400822f7 lea rcx, [rbx-158h] ; +0x4d, 0x1400822fd inc edx ; +0x54, 0x140082304 add rsp, 20h ; +0x56, 0x140082306 pop rbx ; +0x5a, 0x14008230a jmp AchievementsLayer__loadPage ; +0x5b, 0x14008230b mov rcx, [rcx+118h] ; +0x60, 0x140082310 mov rax, [rcx] ; +0x67, 0x140082317 call qword ptr [rax+148h] ; +0x6a, 0x14008231a test al, al ; +0x70, 0x140082320 jz short loc_14008233D ; +0x72, 0x140082322 mov edx, [rbx+108h] ; +0x74, 0x140082324 lea rcx, [rbx-158h] ; +0x7a, 0x14008232a dec edx ; +0x81, 0x140082331 add rsp, 20h ; +0x83, 0x140082333 pop rbx ; +0x87, 0x140082337 jmp AchievementsLayer__loadPage ; +0x88, 0x140082338 add rsp, 20h ; +0x8d, 0x14008233d pop rbx ; +0x91, 0x140082341 retn ; +0x92, 0x140082342