{"type": "func", "start": 8851400, "end": 8851460, "name": "AdvancedFollowTriggerObject::getAdvancedFollowID", "pseudocode": "// \n// AdvancedFollowTriggerObject::getAdvancedFollowID from 0x870fc8 to 0x871004 (60 bytes)\n// \n// 3 xrefs:\n// > saveAdvFollowSetup @ 0x9f1670\n// > GJBaseGameLayer::prepareSavePositionObjects @ 0x9f2ac4\n// > <???> @ 0x60850\n// \n// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 12:55:46 +0000\n// \n\n__int64 __fastcall AdvancedFollowTriggerObject::getAdvancedFollowID(AdvancedFollowTriggerObject *this)\n{\n  unsigned int v1; // w1\n\n  v1 = *((_DWORD *)this + 367);\n  if ( *((_BYTE *)this + 1684) )\n  {\n    return (unsigned int)-1;\n  }\n  else if ( *((_BYTE *)this + 1685) )\n  {\n    return (unsigned int)-2;\n  }\n  else if ( *((_BYTE *)this + 1686) )\n  {\n    return (unsigned int)-3;\n  }\n  return v1;\n}", "assembly": "; \n; AdvancedFollowTriggerObject::getAdvancedFollowID from 0x870fc8 to 0x871004 (60 bytes)\n; \n; 3 xrefs:\n; > saveAdvFollowSetup @ 0x9f1670\n; > GJBaseGameLayer::prepareSavePositionObjects @ 0x9f2ac4\n; > <???> @ 0x60850\n; \n; This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 12:55:46 +0000\n; \nLDRB            W2, [X0,#0x694]                                        ; +0x0, 0x870fc8\nLDR             W1, [X0,#0x5BC]                                        ; +0x4, 0x870fcc\nCBNZ            W2, loc_870FF4                                         ; +0x8, 0x870fd0\nLDRB            W2, [X0,#0x695]                                        ; +0xc, 0x870fd4\nCBNZ            W2, loc_870FFC                                         ; +0x10, 0x870fd8\nLDRB            W0, [X0,#0x696]                                        ; +0x14, 0x870fdc\nCMP             W0, WZR                                                ; +0x18, 0x870fe0\nMOV             W0, #0xFFFFFFFD                                        ; +0x1c, 0x870fe4\nCSEL            W1, W1, W0, EQ                                         ; +0x20, 0x870fe8\nMOV             W0, W1                                                 ; +0x24, 0x870fec\nRET                                                                    ; +0x28, 0x870ff0\nMOV             W1, #0xFFFFFFFF                                        ; +0x2c, 0x870ff4\nB               loc_870FEC                                             ; +0x30, 0x870ff8\nMOV             W1, #0xFFFFFFFE                                        ; +0x34, 0x870ffc\nB               loc_870FEC                                             ; +0x38, 0x871000", "xrefs": ["saveAdvFollowSetup @ 0x9f1670", "GJBaseGameLayer::prepareSavePositionObjects @ 0x9f2ac4", "<???> @ 0x60850"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "arm", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}