// // sub_10035CBD0 from 0x10035cbd0 to 0x10035cc5e (142 bytes) // // 1 xrefs: // > @ 0x100b25888 // // 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:28:54 +0000 // __int64 __fastcall sub_10035CBD0(__int64 a1, int a2) { __int64 result; // rax int v3; // esi if ( a2 > 1024 ) { if ( a2 == 1027 ) goto LABEL_9; if ( a2 != 1025 ) return cocos2d::CCLayer::keyDown(a1 - 344); } else if ( a2 != 37 ) { if ( a2 != 39 ) return cocos2d::CCLayer::keyDown(a1 - 344); LABEL_9: result = (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 264) + 352LL))(*(_QWORD *)(a1 + 264)); if ( (_BYTE)result ) { v3 = *(_DWORD *)(a1 + 260) + 1; return AchievementsLayer::loadPage(a1 - 344, v3); } return result; } result = (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 272) + 352LL))(*(_QWORD *)(a1 + 272)); if ( (_BYTE)result ) { v3 = *(_DWORD *)(a1 + 260) - 1; return AchievementsLayer::loadPage(a1 - 344, v3); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source