{"type": "func", "start": 4300140492, "end": 4300140580, "name": "LevelBindingsLayer::init", "pseudocode": "// \n// LevelBindingsLayer::init from 0x1004eefcc to 0x1004ef024 (88 bytes)\n// \n// 1 xrefs:\n// > LevelBindingsLayer::create @ 0x1004efa38\n// \n// This function is hookable on this platform (idp: arm, 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 11:06:44 +0000\n// \n\n__int64 __fastcall LevelBindingsLayer::init(__int64 a1, __int64 a2, __int64 a3)\n{\n  *(_QWORD *)(a1 + 1192) = a2;\n  *(_BYTE *)(a1 + 1200) = a3;\n  *(_QWORD *)(a1 + 1096) = a2;\n  *(_BYTE *)(a1 + 1104) = 0;\n  if ( !*(_QWORD *)(a2 + 24) )\n  {\n    LevelControlConfig::bindGlobalBinds(a2, a3);\n    *(_BYTE *)(a1 + 1201) = 1;\n    a2 = *(_QWORD *)(a1 + 1192);\n  }\n  *(_BYTE *)(a2 + 32) = 0;\n  return KeybindingsLayer::init(a1, 0);\n}", "assembly": "; \n; LevelBindingsLayer::init from 0x1004eefcc to 0x1004ef024 (88 bytes)\n; \n; 1 xrefs:\n; > LevelBindingsLayer::create @ 0x1004efa38\n; \n; This function is hookable on this platform (idp: arm, 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 11:06:44 +0000\n; \nSTP             X20, X19, [SP,#-0x10+var_10]!                          ; +0x0, 0x1004eefcc\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x1004eefd0\nADD             X29, SP, #0x10                                         ; +0x8, 0x1004eefd4\nMOV             X19, X0                                                ; +0xc, 0x1004eefd8\nSTR             X1, [X0,#0x4A8]                                        ; +0x10, 0x1004eefdc\nSTRB            W2, [X0,#0x4B0]                                        ; +0x14, 0x1004eefe0\nSTR             X1, [X0,#0x448]                                        ; +0x18, 0x1004eefe4\nSTRB            WZR, [X0,#0x450]                                       ; +0x1c, 0x1004eefe8\nLDR             X8, [X1,#0x18]                                         ; +0x20, 0x1004eefec\nCBNZ            X8, loc_1004EF00C                                      ; +0x24, 0x1004eeff0\nMOV             X0, X1                                                 ; +0x28, 0x1004eeff4\nMOV             X1, X2                                                 ; +0x2c, 0x1004eeff8\nBL              LevelControlConfig__bindGlobalBinds                    ; +0x30, 0x1004eeffc\nMOV             W8, #1                                                 ; +0x34, 0x1004ef000\nSTRB            W8, [X19,#0x4B1]                                       ; +0x38, 0x1004ef004\nLDR             X1, [X19,#0x4A8]                                       ; +0x3c, 0x1004ef008\nSTRB            WZR, [X1,#0x20]                                        ; +0x40, 0x1004ef00c\nMOV             X0, X19                                                ; +0x44, 0x1004ef010\nMOV             X1, #0                                                 ; +0x48, 0x1004ef014\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4c, 0x1004ef018\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x50, 0x1004ef01c\nB               KeybindingsLayer__init                                 ; +0x54, 0x1004ef020", "xrefs": ["LevelBindingsLayer::create @ 0x1004efa38"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "arm", "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"}