//
// sub_7599CC from 0x7599cc to 0x7599fe (50 bytes)
//
// 23 xrefs:
// > compareStrings @ 0x3ffc10
// > compareStrings @ 0x3ffc1e
// > compareStrings @ 0x3ffc54
// > compareStrings @ 0x3ffc74
// > compareStrings @ 0x3ffc84
// > compareStrings @ 0x3ffca4
// > compareStrings @ 0x3ffcd8
// > DS_Dictionary::setVec2ForKey @ 0x5fd920
// > DS_Dictionary::setVec2ForKey @ 0x5fd932
// > DS_Dictionary::setVec2ForKey @ 0x5fd948
// > DS_Dictionary::setRectForKey @ 0x5fdada
// > DS_Dictionary::setRectForKey @ 0x5fdaea
// > DS_Dictionary::setRectForKey @ 0x5fdafc
// > DS_Dictionary::setRectForKey @ 0x5fdb0c
// > DS_Dictionary::setRectForKey @ 0x5fdb22
// > DS_Dictionary::setVec2ArrayForKey @ 0x5fddc8
// > DS_Dictionary::setVec2ArrayForKey @ 0x5fdde6
// > DS_Dictionary::setVec2ArrayForKey @ 0x5fddfc
// > DS_Dictionary::setRectArrayForKey @ 0x5fdfee
// > DS_Dictionary::setRectArrayForKey @ 0x5fe002
// > DS_Dictionary::setRectArrayForKey @ 0x5fe016
// > DS_Dictionary::setRectArrayForKey @ 0x5fe02a
// > DS_Dictionary::setRectArrayForKey @ 0x5fe040
//
// 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
//
int *__fastcall sub_7599CC(int *a1, char *a2)
{
_DWORD *v4; // r0
if ( a2 )
{
v4 = (_DWORD *)strlen(a2);
sub_7596F8(a1, (int)a2, v4);
}
else
{
sub_7446A4((int *)((char *)a1 + *(_DWORD *)(*a1 - 12)), *(int *)((char *)a1 + *(_DWORD *)(*a1 - 12) + 20) | 1);
}
return a1;
}