// // ParentalOptionsLayer::onToggle from 0x14037c180 to 0x14037c1f8 (120 bytes) // // 3 xrefs: // > ParentalOptionsLayer::addToggle @ 0x14037bcda // > @ 0x1406d5d14 // > @ 0x1406d5d20 // // 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 // // Hidden C++ exception states: #wind=1 void ParentalOptionsLayer::onToggle(ParentalOptionsLayer *a1, cocos2d::CCObject *a2) { int v3; // eax cocos2d::CCString *v4; // rbx const char *CString; // rax GameManager *v6; // rcx void *v7; // [rsp+30h] [rbp+8h] v3 = a2->getTag(a2); v4 = (cocos2d::CCString *)cocos2d::CCDictionary::objectForKey(a1->m_variables, v3); if ( v4 ) { if ( !qword_1406C2ED8 ) { v7 = operator new(0x668u); qword_1406C2ED8 = sub_14017AB00((__int64)v7); (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2ED8 + 72LL))(qword_1406C2ED8); } CString = cocos2d::CCString::getCString(v4); GameManager::toggleGameVariable(v6, CString); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source