// // cocos2d::CCDirector::popToSceneInStack from 0x100479030 to 0x100479082 (82 bytes) // // 3 xrefs: // > GJScoreCell::onViewProfile @ 0x10023e9ee // > ProfilePage::onMyLevels @ 0x1008a40d7 // > ProfilePage::onMyLists @ 0x1008a42bf // // 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 // char __fastcall cocos2d::CCDirector::popToSceneInStack(_QWORD *a1, __int64 a2) { unsigned int *v2; // rax _QWORD *v3; // rcx unsigned __int64 v4; // rdx v2 = (unsigned int *)a1[37]; if ( v2 ) { v2 = *((unsigned int **)v2 + 7); if ( *v2 ) { v3 = *((_QWORD **)v2 + 2); v4 = (unsigned __int64)&v3[*v2 - 1]; LODWORD(v2) = 1; while ( *v3 ) { if ( *v3 == a2 ) { LOBYTE(v2) = cocos2d::CCDirector::popToSceneStackLevel(a1, (int)v2); return (char)v2; } ++v3; LODWORD(v2) = (_DWORD)v2 + 1; if ( (unsigned __int64)v3 > v4 ) return (char)v2; } } } return (char)v2; }
GD Web Decomp Icon

GD Web Decomp

Raw Source