// // sub_10059BCB0 from 0x10059bcb0 to 0x10059bd4b (155 bytes) // // 2 xrefs: // > sub_10059BD60 @ 0x10059bd65 // > sub_10059BD70 @ 0x10059bd79 // // 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:32:31 +0000 // __int64 *__fastcall sub_10059BCB0(_QWORD *a1) { __int64 v2; // rax __int64 v3; // rax __int64 *v4; // r14 __int64 *v5; // rdi _QWORD *v6; // rax __int64 v7; // rcx __int64 *v8; // r15 *a1 = off_100B716F0; v2 = cocos2d::CCDirector::sharedDirector(); v3 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v2 + 128LL))(v2); cocos2d::CCScheduler::unscheduleAllForTarget(v3, (__int64)a1); v4 = (__int64 *)a1[7]; if ( v4 ) { if ( v4[2] ) { v5 = (__int64 *)v4[1]; v6 = *(_QWORD **)(*v4 + 8); v7 = *v5; *(_QWORD *)(v7 + 8) = v6; *v6 = v7; v4[2] = 0; if ( v5 != v4 ) { do { v8 = (__int64 *)v5[1]; operator delete(v5); v5 = v8; } while ( v8 != v4 ); } } operator delete(v4); } return sub_10047FF60((__int64)a1); }
GD Web Decomp Icon

GD Web Decomp

Raw Source