{"type": "func", "start": 4296185952, "end": 4296186009, "name": "GJBaseGameLayer::gameEventToString", "pseudocode": "// \n// GJBaseGameLayer::gameEventToString from 0x100129860 to 0x100129899 (57 bytes)\n// \n// 1 xrefs:\n// > SelectEventLayer::addToggle @ 0x1005a7213\n// \n// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 12:24:43 +0000\n// \n\n_QWORD *__fastcall GJBaseGameLayer::gameEventToString(_QWORD *a1, unsigned int a2)\n{\n  const char *v2; // rsi\n\n  if ( a2 > 0x4E )\n    v2 = \"NA\";\n  else\n    v2 = (char *)dword_100A05110 + dword_100A05110[a2];\n  sub_10000E4E0(a1, v2);\n  return a1;\n}", "assembly": "; \n; GJBaseGameLayer::gameEventToString from 0x100129860 to 0x100129899 (57 bytes)\n; \n; 1 xrefs:\n; > SelectEventLayer::addToggle @ 0x1005a7213\n; \n; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 12:24:43 +0000\n; \npush    rbp                                                            ; +0x0, 0x100129860\nmov     rbp, rsp                                                       ; +0x1, 0x100129861\npush    rbx                                                            ; +0x4, 0x100129864\npush    rax                                                            ; +0x5, 0x100129865\nmov     rbx, rdi                                                       ; +0x6, 0x100129866\ncmp     esi, 4Eh ; 'N'                                                 ; +0x9, 0x100129869\nja      short loc_100129880                                            ; +0xc, 0x10012986c\nmov     eax, esi                                                       ; +0xe, 0x10012986e\nlea     rcx, dword_100A05110                                           ; +0x10, 0x100129870\nmovsxd  rsi, dword ptr [rcx+rax*4]                                     ; +0x17, 0x100129877\nadd     rsi, rcx                                                       ; +0x1b, 0x10012987b\njmp     short loc_100129887                                            ; +0x1e, 0x10012987e\nlea     rsi, aNa; \"NA\"                                                 ; +0x20, 0x100129880\nmov     rdi, rbx                                                       ; +0x27, 0x100129887\ncall    sub_10000E4E0                                                  ; +0x2a, 0x10012988a\nmov     rax, rbx                                                       ; +0x2f, 0x10012988f\nadd     rsp, 8                                                         ; +0x32, 0x100129892\npop     rbx                                                            ; +0x36, 0x100129896\npop     rbp                                                            ; +0x37, 0x100129897\nretn                                                                   ; +0x38, 0x100129898", "xrefs": ["SelectEventLayer::addToggle @ 0x1005a7213"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}