{"type": "func", "start": 4297614304, "end": 4297614388, "name": "GJBaseGameLayer::registerStateObject", "pseudocode": "// \n// GJBaseGameLayer::registerStateObject from 0x1002863e0 to 0x100286434 (84 bytes)\n// \n// 1 xrefs:\n// > EffectGameObject::triggerObject @ 0x10042c064\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:01:58 +0000\n// \n\n_QWORD *__fastcall GJBaseGameLayer::registerStateObject(__int64 a1, __int64 a2)\n{\n  _QWORD *result; // x0\n  int v4; // [xsp+0h] [xbp-20h] BYREF\n  int *v5; // [xsp+8h] [xbp-18h] BYREF\n\n  v4 = *(_DWORD *)(a2 + 916);\n  v5 = &v4;\n  result = sub_10001A978(a1 + 1264, &v4, (__int64)&unk_100763014, &v5);\n  result[3] = a2;\n  return result;\n}", "assembly": "; \n; GJBaseGameLayer::registerStateObject from 0x1002863e0 to 0x100286434 (84 bytes)\n; \n; 1 xrefs:\n; > EffectGameObject::triggerObject @ 0x10042c064\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:01:58 +0000\n; \nSUB             SP, SP, #0x30                                          ; +0x0, 0x1002863e0\nSTP             X20, X19, [SP,#0x20+var_10]                            ; +0x4, 0x1002863e4\nSTP             X29, X30, [SP,#0x20+var_s0]                            ; +0x8, 0x1002863e8\nADD             X29, SP, #0x20                                         ; +0xc, 0x1002863ec\nMOV             X19, X1                                                ; +0x10, 0x1002863f0\nLDR             W8, [X1,#0x394]                                        ; +0x14, 0x1002863f4\nSTR             W8, [SP,#0x20+var_20]                                  ; +0x18, 0x1002863f8\nMOV             X8, SP                                                 ; +0x1c, 0x1002863fc\nSTR             X8, [SP,#0x20+var_18]                                  ; +0x20, 0x100286400\nADRL            X2, unk_100763014                                      ; +0x24, 0x100286404\nADD             X0, X0, #0x4F0                                         ; +0x2c, 0x10028640c\nMOV             X1, SP                                                 ; +0x30, 0x100286410\nADD             X3, SP, #0x20+var_18                                   ; +0x34, 0x100286414\nADD             X4, SP, #0x20+var_19                                   ; +0x38, 0x100286418\nBL              sub_10001A978                                          ; +0x3c, 0x10028641c\nSTR             X19, [X0,#0x18]                                        ; +0x40, 0x100286420\nLDP             X29, X30, [SP,#0x20+var_s0]                            ; +0x44, 0x100286424\nLDP             X20, X19, [SP,#0x20+var_10]                            ; +0x48, 0x100286428\nADD             SP, SP, #0x30 ; '0'                                    ; +0x4c, 0x10028642c\nRET                                                                    ; +0x50, 0x100286430", "xrefs": ["EffectGameObject::triggerObject @ 0x10042c064"], "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"}