{"type": "func", "start": 5142032, "end": 5142076, "name": "AdvancedFollowTriggerObject::getAdvancedFollowID", "pseudocode": "// \n// AdvancedFollowTriggerObject::getAdvancedFollowID from 0x4e7610 to 0x4e763c (44 bytes)\n// \n// 2 xrefs:\n// > saveAdvFollowSetup @ 0x5bfef8\n// > GJBaseGameLayer::prepareSavePositionObjects @ 0x5c12f8\n// \n// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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 11:51:06 +0000\n// \n\nint __fastcall AdvancedFollowTriggerObject::getAdvancedFollowID(AdvancedFollowTriggerObject *this)\n{\n  int v1; // r3\n\n  v1 = *((_DWORD *)this + 322);\n  if ( *((_BYTE *)this + 1504) )\n    return -1;\n  if ( *((_BYTE *)this + 1505) )\n    return -2;\n  if ( *((_BYTE *)this + 1506) )\n    return -3;\n  return v1;\n}", "assembly": "; \n; AdvancedFollowTriggerObject::getAdvancedFollowID from 0x4e7610 to 0x4e763c (44 bytes)\n; \n; 2 xrefs:\n; > saveAdvFollowSetup @ 0x5bfef8\n; > GJBaseGameLayer::prepareSavePositionObjects @ 0x5c12f8\n; \n; This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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 11:51:06 +0000\n; \nLDRB.W          R2, [R0,#0x5E0]                                        ; +0x0, 0x4e7610\nLDR.W           R3, [R0,#0x508]                                        ; +0x4, 0x4e7614\nCBNZ            R2, loc_4E762E                                         ; +0x8, 0x4e7618\nLDRB.W          R2, [R0,#0x5E1]                                        ; +0xa, 0x4e761a\nCBNZ            R2, loc_4E7634                                         ; +0xe, 0x4e761e\nLDRB.W          R2, [R0,#0x5E2]                                        ; +0x10, 0x4e7620\nCMP             R2, #0                                                 ; +0x14, 0x4e7624\nIT NE                                                                  ; +0x16, 0x4e7626\nMOVNE           R3, #0xFFFFFFFD                                        ; +0x18, 0x4e7628\nB               loc_4E7638                                             ; +0x1c, 0x4e762c\nMOV.W           R3, #0xFFFFFFFF                                        ; +0x1e, 0x4e762e\nB               loc_4E7638                                             ; +0x22, 0x4e7632\nMOV             R3, #0xFFFFFFFE                                        ; +0x24, 0x4e7634\nMOV             R0, R3                                                 ; +0x28, 0x4e7638\nBX              LR                                                     ; +0x2a, 0x4e763a", "xrefs": ["saveAdvFollowSetup @ 0x5bfef8", "GJBaseGameLayer::prepareSavePositionObjects @ 0x5c12f8"], "is_objc": false, "is_32_bit": true, "is_64_bit": false, "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"}