; ; cocos2d::CCApplication::getCurrentLanguage from 0x180072e30 to 0x180072f64 (308 bytes) ; ; 4 xrefs: ; > @ 0x1801006d8 ; > @ 0x1801438a8 ; > @ 0x1801b43e0 ; > @ 0x1801b43ec ; ; 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, 0x180072e30 sub rsp, 20h ; +0x2, 0x180072e32 xor ebx, ebx ; +0x6, 0x180072e36 call cs:GetUserDefaultLCID ; +0x8, 0x180072e38 movzx ecx, al ; +0xe, 0x180072e3e dec ecx; switch 25 cases ; +0x11, 0x180072e41 cmp ecx, 18h ; +0x13, 0x180072e43 ja def_180072E60; jumptable 0000000180072E60 default case, cases 2,3,5,6,8,9,11,13,15,20,21,23,24 ; +0x16, 0x180072e46 movsxd rax, ecx ; +0x1c, 0x180072e4c lea rdx, cs:180000000h ; +0x1f, 0x180072e4f mov ecx, ds:(jpt_180072E60 - 180000000h)[rdx+rax*4] ; +0x26, 0x180072e56 add rcx, rdx ; +0x2d, 0x180072e5d jmp rcx; switch jump ; +0x30, 0x180072e60 mov ebx, 1; jumptable 0000000180072E60 case 4 ; +0x32, 0x180072e62 mov eax, ebx ; +0x37, 0x180072e67 add rsp, 20h ; +0x39, 0x180072e69 pop rbx ; +0x3d, 0x180072e6d retn ; +0x3e, 0x180072e6e mov ebx, 2; jumptable 0000000180072E60 case 12 ; +0x3f, 0x180072e6f mov eax, ebx ; +0x44, 0x180072e74 add rsp, 20h ; +0x46, 0x180072e76 pop rbx ; +0x4a, 0x180072e7a retn ; +0x4b, 0x180072e7b mov ebx, 3; jumptable 0000000180072E60 case 16 ; +0x4c, 0x180072e7c mov eax, ebx ; +0x51, 0x180072e81 add rsp, 20h ; +0x53, 0x180072e83 pop rbx ; +0x57, 0x180072e87 retn ; +0x58, 0x180072e88 mov ebx, 4; jumptable 0000000180072E60 case 7 ; +0x59, 0x180072e89 mov eax, ebx ; +0x5e, 0x180072e8e add rsp, 20h ; +0x60, 0x180072e90 pop rbx ; +0x64, 0x180072e94 retn ; +0x65, 0x180072e95 mov ebx, 5; jumptable 0000000180072E60 case 10 ; +0x66, 0x180072e96 mov eax, ebx ; +0x6b, 0x180072e9b add rsp, 20h ; +0x6d, 0x180072e9d pop rbx ; +0x71, 0x180072ea1 retn ; +0x72, 0x180072ea2 mov ebx, 6; jumptable 0000000180072E60 case 19 ; +0x73, 0x180072ea3 mov eax, ebx ; +0x78, 0x180072ea8 add rsp, 20h ; +0x7a, 0x180072eaa pop rbx ; +0x7e, 0x180072eae retn ; +0x7f, 0x180072eaf mov ebx, 7; jumptable 0000000180072E60 case 25 ; +0x80, 0x180072eb0 mov eax, ebx ; +0x85, 0x180072eb5 add rsp, 20h ; +0x87, 0x180072eb7 pop rbx ; +0x8b, 0x180072ebb retn ; +0x8c, 0x180072ebc mov ebx, 8; jumptable 0000000180072E60 case 18 ; +0x8d, 0x180072ebd mov eax, ebx ; +0x92, 0x180072ec2 add rsp, 20h ; +0x94, 0x180072ec4 pop rbx ; +0x98, 0x180072ec8 retn ; +0x99, 0x180072ec9 mov ebx, 9; jumptable 0000000180072E60 case 17 ; +0x9a, 0x180072eca mov eax, ebx ; +0x9f, 0x180072ecf add rsp, 20h ; +0xa1, 0x180072ed1 pop rbx ; +0xa5, 0x180072ed5 retn ; +0xa6, 0x180072ed6 mov ebx, 0Ah; jumptable 0000000180072E60 case 14 ; +0xa7, 0x180072ed7 mov eax, ebx ; +0xac, 0x180072edc add rsp, 20h ; +0xae, 0x180072ede pop rbx ; +0xb2, 0x180072ee2 retn ; +0xb3, 0x180072ee3 mov ebx, 0Bh; jumptable 0000000180072E60 case 22 ; +0xb4, 0x180072ee4 mov eax, ebx ; +0xb9, 0x180072ee9 add rsp, 20h ; +0xbb, 0x180072eeb pop rbx ; +0xbf, 0x180072eef retn ; +0xc0, 0x180072ef0 mov ebx, 0Ch; jumptable 0000000180072E60 case 1 ; +0xc1, 0x180072ef1 mov eax, ebx; jumptable 0000000180072E60 default case, cases 2,3,5,6,8,9,11,13,15,20,21,23,24 ; +0xc6, 0x180072ef6 add rsp, 20h ; +0xc8, 0x180072ef8 pop rbx ; +0xcc, 0x180072efc retn ; +0xcd, 0x180072efd align 20h ; +0xce, 0x180072efe dd offset loc_180072EF1 - 180000000h; jump table for switch statement ; +0xd0, 0x180072f00