// // cocos2d::CCApplication::setStartupScriptFilename from 0x180073c20 to 0x180073c86 (102 bytes) // // 2 xrefs: // > @ 0x1801438a8 // > @ 0x1801b4494 // // 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 // _QWORD *__fastcall cocos2d::CCApplication::setStartupScriptFilename(__int64 a1, size_t *a2) { _QWORD *v2; // rbx void *v3; // rax _QWORD *result; // rax _QWORD *i; // rdx v2 = (_QWORD *)(a1 + 72); if ( (size_t *)(a1 + 72) != a2 ) { v3 = a2; if ( a2[3] > 0xF ) v3 = (void *)*a2; sub_180010050((void **)(a1 + 72), v3, a2[2]); } result = v2 + 2; if ( v2[3] > 0xFu ) v2 = (_QWORD *)*v2; for ( i = (_QWORD *)((char *)v2 + *result); v2 != i; v2 = (_QWORD *)((char *)v2 + 1) ) { if ( *(_BYTE *)v2 == 92 ) *(_BYTE *)v2 = 47; } return result; }