// // GameManager::getIntGameVariable from 0x100384330 to 0x10038441c (236 bytes) // // 57 xrefs: // > EditorUI::setupDeleteMenu @ 0x10000d4be // > EditorUI::setupDeleteMenu @ 0x10000d5a4 // > EditorUI::setupCreateMenu @ 0x10000d972 // > EditorUI::setupCreateMenu @ 0x10000d988 // > EditorUI::onDelete @ 0x10002dd22 // > EditorUI::onDelete @ 0x10002dd3b // > EditorUI::onDelete @ 0x10002dd5f // > EditorUI::onDelete @ 0x10002dd89 // > EditorUI::onNewCustomItem @ 0x100030c8d // > EditorUI::onNewCustomItem @ 0x100030ca4 // > EditorUI::reloadCustomItems @ 0x10003141d // > EditorUI::reloadCustomItems @ 0x100031434 // > EditorUI::onDeleteCustomItem @ 0x1000314b4 // > EditorUI::onDeleteCustomItem @ 0x1000314cb // > EditorUI::orderUpCustomItem @ 0x10003156b // > EditorUI::orderUpCustomItem @ 0x100031582 // > EditorUI::orderDownCustomItem @ 0x100031628 // > EditorUI::orderDownCustomItem @ 0x10003163f // > EditorUI::recreateButtonTabs @ 0x100031c64 // > EditorUI::recreateButtonTabs @ 0x100031c7b // > EditorUI::onGroupIDFilter @ 0x100031ebd // > EditorUI::onColorFilter @ 0x100031fb9 // > EditorUI::updateDeleteButtons @ 0x1000320c3 // > EditorUI::updateDeleteButtons @ 0x100032179 // > EditorUI::shouldDeleteObject @ 0x100032833 // > EditorUI::shouldDeleteObject @ 0x100032898 // > EditorUI::canSelectObject @ 0x10003c0c1 // > EditorUI::canSelectObject @ 0x10003c0da // > EditorUI::canSelectObject @ 0x10003c0f6 // > EditorUI::canSelectObject @ 0x10003c11c // > EditorUI::selectObjects @ 0x10003c1b4 // > EditorUI::selectObjects @ 0x10003c1d1 // > EditorUI::selectObjects @ 0x10003c250 // > EditorUI::selectObjects @ 0x10003c2e6 // > EditorUI::createMoveMenu @ 0x100047f3a // > EditorUI::createMoveMenu @ 0x100047f51 // > EditLevelLayer::onLevelLeaderboard @ 0x1001fd05c // > CreatorLayer::onSavedLevels @ 0x100298446 // > CreatorLayer::onSavedLevels @ 0x100298461 // > CreatorLayer::onSavedLevels @ 0x100298479 // > CreatorLayer::onSavedLevels @ 0x10029849c // > CreatorLayer::onMyLevels @ 0x100298bb0 // > CreatorLayer::onMyLevels @ 0x100298bcb // > CreatorLayer::onMyLevels @ 0x100298be3 // > CreatorLayer::onMyLevels @ 0x100298c06 // > EditorOptionsLayer::setupOptions @ 0x10029e028 // > EditorOptionsLayer::setupOptions @ 0x10029e042 // > EditorOptionsLayer::onClose @ 0x10029e70f // > EditorOptionsLayer::onClose @ 0x10029e726 // > LevelInfoLayer::onLevelLeaderboard @ 0x1002c19cb // > LevelInfoLayer::onLevelLeaderboard @ 0x1002c19e2 // > GameManager::dataLoaded @ 0x10038a4ec // > GameManager::dataLoaded @ 0x10038a514 // > GameManager::firstLoad @ 0x10038a72b // > GameManager::firstLoad @ 0x10038a76f // > EndLevelLayer::onLevelLeaderboard @ 0x1004c2252 // > EndLevelLayer::onLevelLeaderboard @ 0x1004c2269 // // 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 // int __fastcall GameManager::getIntGameVariable(GameManager *a1, const char *a2) { double v2; // xmm0_8 cocos2d::CCString *v3; // rax const char *CString; // r15 cocos2d::CCDictionary *m_valueKeeper; // rbx size_t v6; // rax size_t v7; // r14 char *v8; // r12 size_t v9; // r13 cocos2d::CCString *v10; // rax int result; // eax int v12; // ebx _QWORD __dst[2]; // [rsp+0h] [rbp-40h] BYREF void *__p; // [rsp+10h] [rbp-30h] v3 = (cocos2d::CCString *)sub_1007AB580("%s%s", __dst[0]); CString = cocos2d::CCString::getCString(v3); m_valueKeeper = a1->m_valueKeeper; v6 = strlen(CString); if ( v6 >= 0xFFFFFFFFFFFFFFF8LL ) sub_100006BF0(v2); v7 = v6; if ( v6 >= 0x17 ) { v9 = 26; if ( (v6 | 7) != 0x17 ) v9 = (v6 | 7) + 1; v8 = (char *)operator new(v9); __p = v8; __dst[0] = v9 + 1; __dst[1] = v7; goto LABEL_8; } LOBYTE(__dst[0]) = 2 * v6; v8 = (char *)__dst + 1; if ( v6 ) LABEL_8: memmove(v8, CString, v7); v8[v7] = 0; v10 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey_1((__int64)m_valueKeeper, (__int64)__dst); result = cocos2d::CCString::intValue(v10); if ( (__dst[0] & 1) != 0 ) { v12 = result; operator delete(__p); return v12; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source