{"type": "func", "start": 7682816, "end": 7682876, "name": "AdvancedFollowTriggerObject::getAdvancedFollowID", "pseudocode": "// \n// AdvancedFollowTriggerObject::getAdvancedFollowID from 0x753b00 to 0x753b3c (60 bytes)\n// \n// 3 xrefs:\n// > saveAdvFollowSetup @ 0x897024\n// > GJBaseGameLayer::prepareSavePositionObjects @ 0x897610\n// > <???> @ 0x43ad0\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\nint AdvancedFollowTriggerObject::getAdvancedFollowID(AdvancedFollowTriggerObject *a1)\n{\n  int m_centerGroupID; // w1\n\n  m_centerGroupID = a1->m_centerGroupID;\n  if ( a1->m_targetPlayer1 )\n    return -1;\n  if ( a1->m_targetPlayer2 )\n    return -2;\n  if ( a1->m_followCPP )\n    return -3;\n  return m_centerGroupID;\n}", "assembly": "; \n; AdvancedFollowTriggerObject::getAdvancedFollowID from 0x753b00 to 0x753b3c (60 bytes)\n; \n; 3 xrefs:\n; > saveAdvFollowSetup @ 0x897024\n; > GJBaseGameLayer::prepareSavePositionObjects @ 0x897610\n; > <???> @ 0x43ad0\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\nLDRB            W2, [X0,#0x684]                                        ; +0x0, 0x753b00\nLDR             W1, [X0,#0x5AC]                                        ; +0x4, 0x753b04\nCBNZ            W2, loc_753B2C                                         ; +0x8, 0x753b08\nLDRB            W2, [X0,#0x685]                                        ; +0xc, 0x753b0c\nCBNZ            W2, loc_753B34                                         ; +0x10, 0x753b10\nLDRB            W0, [X0,#0x686]                                        ; +0x14, 0x753b14\nCMP             W0, WZR                                                ; +0x18, 0x753b18\nMOV             W0, #0xFFFFFFFD                                        ; +0x1c, 0x753b1c\nCSEL            W1, W1, W0, EQ                                         ; +0x20, 0x753b20\nMOV             W0, W1                                                 ; +0x24, 0x753b24\nRET                                                                    ; +0x28, 0x753b28\nMOV             W1, #0xFFFFFFFF                                        ; +0x2c, 0x753b2c\nB               loc_753B24                                             ; +0x30, 0x753b30\nMOV             W1, #0xFFFFFFFE                                        ; +0x34, 0x753b34\nB               loc_753B24                                             ; +0x38, 0x753b38", "xrefs": ["saveAdvFollowSetup @ 0x897024", "GJBaseGameLayer::prepareSavePositionObjects @ 0x897610", "<???> @ 0x43ad0"], "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"}