//
// operator new from 0x140677aa0 to 0x140677ab3 (19 bytes)
//
// 7 xrefs:
// > CCSpriteWithHue::createWithSpriteFrameName @ 0x14004c5e8
// > CCSpriteGrayscale::createWithSpriteFrameName @ 0x14004d188
// > ThreadViewPopup::sortMessagesByID @ 0x1400daaef
// > sub_140119730 @ 0x14011978f
// > sub_140403620 @ 0x14040542f
// > OptionsScrollLayer::init @ 0x14047e6af
// > ??> @ 0x140932714
//
// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 11:36:00 +0000
//
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;
}