// // sub_100373700 from 0x100373700 to 0x10037378e (142 bytes) // // 1 xrefs: // > @ 0x10091d600 // // 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 // void __fastcall sub_100373700(__int64 a1, cocos2d::enumKeyCodes a2, double a3) { int v3; // esi if ( a2 > 1024 ) { if ( a2 == CONTROLLER_Right ) goto LABEL_9; if ( a2 != CONTROLLER_Left ) { LABEL_13: cocos2d::CCLayer::keyDown((cocos2d::CCLayer *)(a1 - 344), a2, a3); return; } } else if ( a2 != KEY_Left ) { if ( a2 != KEY_Right ) goto LABEL_13; LABEL_9: if ( (*(unsigned __int8 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 264) + 336LL))(*(_QWORD *)(a1 + 264)) ) { v3 = *(_DWORD *)(a1 + 260) + 1; goto LABEL_11; } return; } if ( (*(unsigned __int8 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 272) + 336LL))(*(_QWORD *)(a1 + 272)) ) { v3 = *(_DWORD *)(a1 + 260) - 1; LABEL_11: AchievementsLayer::loadPage((AchievementsLayer *)(a1 - 344), v3); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source