{"type": "func", "start": 4296189808, "end": 4296189875, "name": "GJBaseGameLayer::registerStateObject", "pseudocode": "// \n// GJBaseGameLayer::registerStateObject from 0x10012a770 to 0x10012a7b3 (67 bytes)\n// \n// 1 xrefs:\n// > EffectGameObject::triggerObject @ 0x1001ba34d\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 *p_m_uniqueID; // [rsp+8h] [rbp-18h] BYREF\n  int m_uniqueID; // [rsp+10h] [rbp-10h] BYREF\n  _BYTE v4[9]; // [rsp+17h] [rbp-9h] BYREF\n\n  m_uniqueID = a2->m_uniqueID;\n  p_m_uniqueID = &m_uniqueID;\n  *(_QWORD *)(sub_100167B50(&a1->m_gameState.m_stateObjects, &m_uniqueID, &unk_100816AE0, &p_m_uniqueID, v4) + 24) = a2;\n}", "assembly": "; \n; GJBaseGameLayer::registerStateObject from 0x10012a770 to 0x10012a7b3 (67 bytes)\n; \n; 1 xrefs:\n; > EffectGameObject::triggerObject @ 0x1001ba34d\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\npush    rbp                                                            ; +0x0, 0x10012a770\nmov     rbp, rsp                                                       ; +0x1, 0x10012a771\npush    rbx                                                            ; +0x4, 0x10012a774\nsub     rsp, 18h                                                       ; +0x5, 0x10012a775\nmov     rbx, rsi                                                       ; +0x9, 0x10012a779\nadd     rdi, 4F0h                                                      ; +0xc, 0x10012a77c\nmov     eax, [rsi+394h]                                                ; +0x13, 0x10012a783\nmov     [rbp+var_10], eax                                              ; +0x19, 0x10012a789\nlea     rsi, [rbp+var_10]                                              ; +0x1c, 0x10012a78c\nmov     [rbp+var_18], rsi                                              ; +0x20, 0x10012a790\nlea     rdx, unk_100816AE0                                             ; +0x24, 0x10012a794\nlea     rcx, [rbp+var_18]                                              ; +0x2b, 0x10012a79b\nlea     r8, [rbp+var_9]                                                ; +0x2f, 0x10012a79f\ncall    sub_100167B50                                                  ; +0x33, 0x10012a7a3\nmov     [rax+18h], rbx                                                 ; +0x38, 0x10012a7a8\nadd     rsp, 18h                                                       ; +0x3c, 0x10012a7ac\npop     rbx                                                            ; +0x40, 0x10012a7b0\npop     rbp                                                            ; +0x41, 0x10012a7b1\nretn                                                                   ; +0x42, 0x10012a7b2", "xrefs": ["EffectGameObject::triggerObject @ 0x1001ba34d"], "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"}