{"type": "func", "start": 4296683152, "end": 4296683205, "name": "AdvancedFollowTriggerObject::getAdvancedFollowID", "pseudocode": "// \n// AdvancedFollowTriggerObject::getAdvancedFollowID from 0x1001a2e90 to 0x1001a2ec5 (53 bytes)\n// \n// 2 xrefs:\n// > GJBaseGameLayer::prepareSavePositionObjects @ 0x1001195bb\n// > sub_10012C210 @ 0x10012c358\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 __fastcall AdvancedFollowTriggerObject::getAdvancedFollowID(AdvancedFollowTriggerObject *a1)\n{\n  int result; // eax\n\n  result = -1;\n  if ( !a1->m_targetPlayer1 )\n  {\n    result = -2;\n    if ( !a1->m_targetPlayer2 )\n    {\n      result = -3;\n      if ( !a1->m_followCPP )\n        return a1->m_centerGroupID;\n    }\n  }\n  return result;\n}", "assembly": "; \n; AdvancedFollowTriggerObject::getAdvancedFollowID from 0x1001a2e90 to 0x1001a2ec5 (53 bytes)\n; \n; 2 xrefs:\n; > GJBaseGameLayer::prepareSavePositionObjects @ 0x1001195bb\n; > sub_10012C210 @ 0x10012c358\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, 0x1001a2e90\nmov     rbp, rsp                                                       ; +0x1, 0x1001a2e91\nmov     eax, 0FFFFFFFFh                                                ; +0x4, 0x1001a2e94\ncmp     byte ptr [rdi+694h], 0                                         ; +0x9, 0x1001a2e99\njnz     short loc_1001A2EC3                                            ; +0x10, 0x1001a2ea0\nmov     eax, 0FFFFFFFEh                                                ; +0x12, 0x1001a2ea2\ncmp     byte ptr [rdi+695h], 0                                         ; +0x17, 0x1001a2ea7\njnz     short loc_1001A2EC3                                            ; +0x1e, 0x1001a2eae\ncmp     byte ptr [rdi+696h], 0                                         ; +0x20, 0x1001a2eb0\nmov     eax, 0FFFFFFFDh                                                ; +0x27, 0x1001a2eb7\ncmovz   eax, [rdi+5BCh]                                                ; +0x2c, 0x1001a2ebc\npop     rbp                                                            ; +0x33, 0x1001a2ec3\nretn                                                                   ; +0x34, 0x1001a2ec4", "xrefs": ["GJBaseGameLayer::prepareSavePositionObjects @ 0x1001195bb", "sub_10012C210 @ 0x10012c358"], "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"}