//
// operator new from 0x1404d0ccc to 0x1404d0cdf (19 bytes)
//
// 4 xrefs:
// > sub_140048500 @ 0x140048538
// > CCSpriteGrayscale::createWithSpriteFrameName @ 0x1400490c8
// > sub_1402E3B00 @ 0x1402e54cf
// > ??> @ 0x1406dd70c
//
// 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
//
void *__fastcall operator new(size_t a1, const struct std::nothrow_t *a2)
{
void *result; // rax
try
{
result = operator new(a1);
}
catch ( ... )
{
return nullptr;
}
return result;
}