Mac GetLanguage: int32_t __cdecl (void) Mac language code from itlc/itlb
It reads no register or stack args. It loads the 'itlc' resource (GetResource 0x0030b618), reads its script word, loads the matching 'itlb' resource and returns its +0xc language word, sign-extended (EDI; 0 if a resource is missing), via MOV EAX,EDI at 0x0002b11c. Callers use the result as a table index: LOCALE_BuildLangIdFromMac 0x0002b068 keeps EAX in ESI and compares it with 0x94.
Changes 1, applied together
Set prototype
mac 0x0002b0a0signatureundefined GetLanguage(void)→int32_t GetLanguage(void)conventionunknown→__cdecl