// // cocos2d::CCDirector::runWithScene from 0x100478a90 to 0x100478b27 (151 bytes) // // 1 xrefs: // > AppDelegate::applicationDidFinishLaunching @ 0x10073b89f // // 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 12:30:36 +0000 // __int64 __fastcall cocos2d::CCDirector::runWithScene(__int64 a1, _UNKNOWN **a2) { _QWORD *v3; // r14 __int64 v4; // rdx __int64 v5; // rcx void *v6; // rax void (__fastcall ***v7)(_QWORD, _QWORD *, __int64, __int64); // rdi void (__fastcall ***v8)(_QWORD, _UNKNOWN **, __int64, __int64); // rdi if ( !*(_BYTE *)(a1 + 176) ) { v3 = a2; *(_BYTE *)(a1 + 288) = 0; sub_1007FEBF0(*(_QWORD *)(a1 + 296), a2); *(_QWORD *)(a1 + 280) = a2; if ( !a2 || (a2 = &`typeinfo for'cocos2d::CCScene, v6 = __dynamic_cast( v3, (const struct __class_type_info *)&`typeinfo for'cocos2d::CCScene, (const struct __class_type_info *)&`typeinfo for'cocos2d::CCTransitionScene, 0), LOBYTE(v5) = 1, !v6) ) { if ( !*(_BYTE *)(a1 + 404) ) { v7 = *(void (__fastcall ****)(_QWORD, _QWORD *, __int64, __int64))(a1 + 360); if ( v7 ) { a2 = (_UNKNOWN **)v3; (**v7)(v7, v3, v4, v5); } v8 = (void (__fastcall ***)(_QWORD, _UNKNOWN **, __int64, __int64))v3[40]; if ( v8 ) (**v8)(v8, a2, v4, v5); } LOBYTE(v5) = 0; } *(_BYTE *)(a1 + 176) = v5; } return (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a1 + 112LL))(a1); }
GD Web Decomp Icon

GD Web Decomp

Raw Source