{"type": "func", "start": 4296976364, "end": 4296976448, "name": "GJBaseGameLayer::registerStateObject", "pseudocode": "// \n// GJBaseGameLayer::registerStateObject from 0x1001ea7ec to 0x1001ea840 (84 bytes)\n// \n// 1 xrefs:\n// > EffectGameObject::triggerObject @ 0x1003861a4\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\nvoid __fastcall GJBaseGameLayer::registerStateObject(GJBaseGameLayer *a1, EffectGameObject *a2)\n{\n  int m_uniqueID; // [xsp+0h] [xbp-20h] BYREF\n  int *p_m_uniqueID; // [xsp+8h] [xbp-18h] BYREF\n\n  m_uniqueID = a2->m_uniqueID;\n  p_m_uniqueID = &m_uniqueID;\n  sub_100019F24((unsigned __int64)&a1->m_gameState.m_stateObjects, &m_uniqueID, (__int64)&unk_10063A31C, &p_m_uniqueID)[3] = a2;\n}", "assembly": "; \n; GJBaseGameLayer::registerStateObject from 0x1001ea7ec to 0x1001ea840 (84 bytes)\n; \n; 1 xrefs:\n; > EffectGameObject::triggerObject @ 0x1003861a4\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\nSUB             SP, SP, #0x30                                          ; +0x0, 0x1001ea7ec\nSTP             X20, X19, [SP,#0x20+var_10]                            ; +0x4, 0x1001ea7f0\nSTP             X29, X30, [SP,#0x20+var_s0]                            ; +0x8, 0x1001ea7f4\nADD             X29, SP, #0x20                                         ; +0xc, 0x1001ea7f8\nMOV             X19, X1                                                ; +0x10, 0x1001ea7fc\nLDR             W8, [X1,#0x394]                                        ; +0x14, 0x1001ea800\nSTR             W8, [SP,#0x20+var_20]                                  ; +0x18, 0x1001ea804\nMOV             X8, SP                                                 ; +0x1c, 0x1001ea808\nSTR             X8, [SP,#0x20+var_18]                                  ; +0x20, 0x1001ea80c\nADRL            X2, unk_10063A31C                                      ; +0x24, 0x1001ea810\nADD             X0, X0, #0x4F0                                         ; +0x2c, 0x1001ea818\nMOV             X1, SP                                                 ; +0x30, 0x1001ea81c\nADD             X3, SP, #0x20+var_18                                   ; +0x34, 0x1001ea820\nADD             X4, SP, #0x20+var_19                                   ; +0x38, 0x1001ea824\nBL              sub_100019F24                                          ; +0x3c, 0x1001ea828\nSTR             X19, [X0,#0x18]                                        ; +0x40, 0x1001ea82c\nLDP             X29, X30, [SP,#0x20+var_s0]                            ; +0x44, 0x1001ea830\nLDP             X20, X19, [SP,#0x20+var_10]                            ; +0x48, 0x1001ea834\nADD             SP, SP, #0x30 ; '0'                                    ; +0x4c, 0x1001ea838\nRET                                                                    ; +0x50, 0x1001ea83c", "xrefs": ["EffectGameObject::triggerObject @ 0x1003861a4"], "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"}