{"type": "func", "start": 4091020, "end": 4091064, "name": "AdvancedFollowTriggerObject::getAdvancedFollowID", "pseudocode": "// \n// AdvancedFollowTriggerObject::getAdvancedFollowID from 0x3e6c8c to 0x3e6cb8 (44 bytes)\n// \n// 2 xrefs:\n// > saveAdvFollowSetup @ 0x494a9c\n// > GJBaseGameLayer::prepareSavePositionObjects @ 0x494ecc\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; // r3\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 0x3e6c8c to 0x3e6cb8 (44 bytes)\n; \n; 2 xrefs:\n; > saveAdvFollowSetup @ 0x494a9c\n; > GJBaseGameLayer::prepareSavePositionObjects @ 0x494ecc\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.W          R2, [R0,#0x5D8]                                        ; +0x0, 0x3e6c8c\nLDR.W           R3, [R0,#0x500]                                        ; +0x4, 0x3e6c90\nCBNZ            R2, loc_3E6CAA                                         ; +0x8, 0x3e6c94\nLDRB.W          R2, [R0,#0x5D9]                                        ; +0xa, 0x3e6c96\nCBNZ            R2, loc_3E6CB0                                         ; +0xe, 0x3e6c9a\nLDRB.W          R2, [R0,#0x5DA]                                        ; +0x10, 0x3e6c9c\nCMP             R2, #0                                                 ; +0x14, 0x3e6ca0\nIT NE                                                                  ; +0x16, 0x3e6ca2\nMOVNE           R3, #0xFFFFFFFD                                        ; +0x18, 0x3e6ca4\nB               loc_3E6CB4                                             ; +0x1c, 0x3e6ca8\nMOV.W           R3, #0xFFFFFFFF                                        ; +0x1e, 0x3e6caa\nB               loc_3E6CB4                                             ; +0x22, 0x3e6cae\nMOV             R3, #0xFFFFFFFE                                        ; +0x24, 0x3e6cb0\nMOV             R0, R3                                                 ; +0x28, 0x3e6cb4\nBX              LR                                                     ; +0x2a, 0x3e6cb6", "xrefs": ["saveAdvFollowSetup @ 0x494a9c", "GJBaseGameLayer::prepareSavePositionObjects @ 0x494ecc"], "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"}