; ; cocos2d::CCLabelBMFont::kerningAmountForFirst from 0x180048d40 to 0x180048e55 (277 bytes) ; ; 2 xrefs: ; > cocos2d::CCLabelBMFont::createFontChars @ 0x1800480e6 ; > @ 0x1801438a8 ; ; 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 ; movzx r10d, dx ; +0x0, 0x180048d40 movzx eax, r8w ; +0x4, 0x180048d44 mov r9d, r10d ; +0x8, 0x180048d48 shl r9d, 10h ; +0xb, 0x180048d4b or r9d, eax ; +0xf, 0x180048d4f mov rax, [rcx+1D0h] ; +0x12, 0x180048d52 mov edx, r9d ; +0x19, 0x180048d59 shr edx, 8 ; +0x1c, 0x180048d5c mov r11, [rax+78h] ; +0x1f, 0x180048d5f test r11, r11 ; +0x23, 0x180048d63 jz loc_180048E4E ; +0x26, 0x180048d66 movzx eax, dl ; +0x2c, 0x180048d6c mov r8d, 9F49BAC6h ; +0x2f, 0x180048d6f movzx ecx, r10b ; +0x35, 0x180048d75 mov r10, [r11+8] ; +0x39, 0x180048d79 shl ecx, 8 ; +0x3d, 0x180048d7d add ecx, eax ; +0x40, 0x180048d80 movzx edx, r9b ; +0x42, 0x180048d82 shl ecx, 8 ; +0x46, 0x180048d86 add edx, 112410Dh ; +0x49, 0x180048d89 mov eax, r9d ; +0x4f, 0x180048d8f and eax, 0FF000000h ; +0x52, 0x180048d92 add ecx, eax ; +0x57, 0x180048d97 add edx, ecx ; +0x59, 0x180048d99 mov ecx, 0FEEDBEF3h ; +0x5b, 0x180048d9b xor edx, 7F76Dh ; +0x60, 0x180048da0 sub r8d, edx ; +0x66, 0x180048da6 mov eax, edx ; +0x69, 0x180048da9 shl eax, 8 ; +0x6b, 0x180048dab xor r8d, eax ; +0x6e, 0x180048dae sub ecx, r8d ; +0x71, 0x180048db1 mov eax, r8d ; +0x74, 0x180048db4 sub ecx, edx ; +0x77, 0x180048db7 shr eax, 0Dh ; +0x79, 0x180048db9 xor ecx, eax ; +0x7c, 0x180048dbc sub edx, r8d ; +0x7e, 0x180048dbe sub edx, ecx ; +0x81, 0x180048dc1 mov eax, ecx ; +0x83, 0x180048dc3 shr eax, 0Ch ; +0x85, 0x180048dc5 xor edx, eax ; +0x88, 0x180048dc8 sub r8d, edx ; +0x8a, 0x180048dca mov eax, edx ; +0x8d, 0x180048dcd sub r8d, ecx ; +0x8f, 0x180048dcf shl eax, 10h ; +0x92, 0x180048dd2 xor r8d, eax ; +0x95, 0x180048dd5 sub ecx, r8d ; +0x98, 0x180048dd8 mov eax, r8d ; +0x9b, 0x180048ddb sub ecx, edx ; +0x9e, 0x180048dde shr eax, 5 ; +0xa0, 0x180048de0 xor ecx, eax ; +0xa3, 0x180048de3 sub edx, r8d ; +0xa5, 0x180048de5 sub edx, ecx ; +0xa8, 0x180048de8 mov eax, ecx ; +0xaa, 0x180048dea shr eax, 3 ; +0xac, 0x180048dec xor edx, eax ; +0xaf, 0x180048def sub r8d, edx ; +0xb1, 0x180048df1 mov eax, edx ; +0xb4, 0x180048df4 sub r8d, ecx ; +0xb6, 0x180048df6 shl eax, 0Ah ; +0xb9, 0x180048df9 xor r8d, eax ; +0xbc, 0x180048dfc sub ecx, r8d ; +0xbf, 0x180048dff mov eax, r8d ; +0xc2, 0x180048e02 sub ecx, edx ; +0xc5, 0x180048e05 shr rax, 0Fh ; +0xc7, 0x180048e07 mov edx, ecx ; +0xcb, 0x180048e0b mov ecx, [r10+8] ; +0xcd, 0x180048e0d xor rdx, rax ; +0xd1, 0x180048e11 mov rax, [r10] ; +0xd4, 0x180048e14 dec ecx ; +0xd7, 0x180048e17 and rdx, rcx ; +0xd9, 0x180048e19 add rdx, rdx ; +0xdc, 0x180048e1c mov rax, [rax+rdx*8] ; +0xdf, 0x180048e1f test rax, rax ; +0xe3, 0x180048e23 jz short loc_180048E4E ; +0xe6, 0x180048e26 mov rdx, [r10+20h] ; +0xe8, 0x180048e28 sub rax, rdx ; +0xec, 0x180048e2c jz short loc_180048E4E ; +0xef, 0x180048e2f cmp dword ptr [rax+38h], 4 ; +0xf1, 0x180048e31 jnz short loc_180048E40 ; +0xf5, 0x180048e35 mov rcx, [rax+30h] ; +0xf7, 0x180048e37 cmp [rcx], r9d ; +0xfb, 0x180048e3b jz short loc_180048E51 ; +0xfe, 0x180048e3e mov rax, [rax+28h] ; +0x100, 0x180048e40 test rax, rax ; +0x104, 0x180048e44 jz short loc_180048E4E ; +0x107, 0x180048e47 sub rax, rdx ; +0x109, 0x180048e49 jnz short loc_180048E31 ; +0x10c, 0x180048e4c xor eax, eax ; +0x10e, 0x180048e4e retn ; +0x110, 0x180048e50 mov eax, [rax+4] ; +0x111, 0x180048e51 retn ; +0x114, 0x180048e54