// // sub_18001DEE0 from 0x18001dee0 to 0x18001df8e (174 bytes) // // 4 xrefs: // > sub_18001DD80 @ 0x18001dd9a // > sub_18001DEE0 @ 0x18001df5c // > sub_18001DEE0 @ 0x18001df6e // > @ 0x18004b0b8 // // 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 // // Hidden C++ exception states: #wind=1 __int64 __fastcall sub_18001DEE0(__int64 *a1, __int64 a2, __int64 a3) { __int64 v6; // rsi __int64 *v7; // rbx __int64 v9; // rax __int64 v10; // rcx v6 = *a1; if ( !*(_BYTE *)(a2 + 25) ) { v7 = (__int64 *)operator new(0x28u); *(__int64 *)((char *)v7 + 28) = *(_QWORD *)(a2 + 28); *v7 = v6; v7[2] = v6; *((_WORD *)v7 + 12) = 0; v7[1] = a3; *((_BYTE *)v7 + 24) = *(_BYTE *)(a2 + 24); if ( *(_BYTE *)(v6 + 25) ) v6 = (__int64)v7; try { *v7 = sub_18001DEE0(a1, *(_QWORD *)a2, v7); v7[2] = sub_18001DEE0(a1, *(_QWORD *)(a2 + 16), v7); } catch ( ... ) { v9 = cocos2d::extension::ColorPickerDelegate::operator=((__int64)a1); sub_180005580(v10, v9, v6); throw; } } return v6; }