{"type": "func", "start": 4297044604, "end": 4297044648, "name": "GJBaseGameLayer::gameEventToString", "pseudocode": "// \n// GJBaseGameLayer::gameEventToString from 0x1001fb27c to 0x1001fb2a8 (44 bytes)\n// \n// 1 xrefs:\n// > SelectEventLayer::addToggle @ 0x100408d5c\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\n_QWORD *__usercall GJBaseGameLayer::gameEventToString@<X0>(unsigned int a1@<W0>, _QWORD *a2@<X8>)\n{\n  char *v2; // x1\n\n  if ( a1 > 0x4E )\n    v2 = \"NA\";\n  else\n    v2 = off_1007C1E78[a1];\n  return sub_100009900(a2, v2);\n}", "assembly": "; \n; GJBaseGameLayer::gameEventToString from 0x1001fb27c to 0x1001fb2a8 (44 bytes)\n; \n; 1 xrefs:\n; > SelectEventLayer::addToggle @ 0x100408d5c\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\nMOV             X9, X0                                                 ; +0x0, 0x1001fb27c\nMOV             X0, X8; int                                            ; +0x4, 0x1001fb280\nCMP             W9, #0x4E ; 'N'                                        ; +0x8, 0x1001fb284\nB.HI            loc_1001FB29C                                          ; +0xc, 0x1001fb288\nADRL            X8, off_1007C1E78; \"None\"                              ; +0x10, 0x1001fb28c\nLDR             X1, [X8,W9,UXTW#3]; __s                                ; +0x18, 0x1001fb294\nB               sub_100009900                                          ; +0x1c, 0x1001fb298\nADRL            X1, aNa; \"NA\"                                          ; +0x20, 0x1001fb29c\nB               sub_100009900                                          ; +0x28, 0x1001fb2a4", "xrefs": ["SelectEventLayer::addToggle @ 0x100408d5c"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}