// // cocos2d::CCApplication::setStartupScriptFilename from 0x1800768c0 to 0x180076906 (70 bytes) // // 2 xrefs: // > @ 0x18014cf68 // > @ 0x1801be83c // // 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:21:58 +0000 // _BYTE *__fastcall cocos2d::CCApplication::setStartupScriptFilename(__int64 a1, void **a2) { __int64 v2; // rbx __int64 v3; // rcx _BYTE *result; // rax _BYTE *v5; // rcx v2 = a1 + 72; sub_1800751E0((void **)(a1 + 72), a2); v3 = *(_QWORD *)(v2 + 16); if ( *(_QWORD *)(v2 + 24) <= 0xFu ) { v5 = (_BYTE *)(v2 + v3); result = (_BYTE *)v2; } else { result = *(_BYTE **)v2; v5 = (_BYTE *)(*(_QWORD *)v2 + v3); } for ( ; result != v5; ++result ) { if ( *result == 92 ) *result = 47; } return result; }