{"type": "func", "start": 4844740, "end": 4844806, "name": "GJEffectManager::setFollowing", "pseudocode": "// \n// GJEffectManager::setFollowing from 0x49ecc4 to 0x49ed06 (66 bytes)\n// \n// 1 xrefs:\n// > GJBaseGameLayer::processFollowActions @ 0x4755a2\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\nvoid GJEffectManager::setFollowing(GJEffectManager *a1, int a2, int a3, bool a4)\n{\n  int v4; // [sp+0h] [bp-14h] BYREF\n  _BYTE v5[8]; // [sp+4h] [bp-10h] BYREF\n\n  v4 = a3 + 2000 * a2;\n  if ( a4 )\n    sub_49EBE0((int)v5, &a1->m_unkMap4c8._M_h._M_buckets, (unsigned int *)&v4);\n  else\n    sub_4989B6((int *)&a1->m_unkMap4c8, &v4);\n}", "assembly": "; \n; GJEffectManager::setFollowing from 0x49ecc4 to 0x49ed06 (66 bytes)\n; \n; 1 xrefs:\n; > GJBaseGameLayer::processFollowActions @ 0x4755a2\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            {R4,R5,LR}                                             ; +0x0, 0x49ecc4\nSUB             SP, SP, #0x14                                          ; +0x2, 0x49ecc6\nLDR             R4, =(__stack_chk_guard_ptr - 0x49ECCE)                ; +0x4, 0x49ecc8\nADD             R4, PC; __stack_chk_guard_ptr                          ; +0x6, 0x49ecca\nLDR             R4, [R4]; __stack_chk_guard                            ; +0x8, 0x49eccc\nLDR             R5, [R4]                                               ; +0xa, 0x49ecce\nSTR             R5, [SP,#0x14+var_8]                                   ; +0xc, 0x49ecd0\nMOV.W           R5, #0x7D0                                             ; +0xe, 0x49ecd2\nMLA             R1, R5, R1, R2                                         ; +0x12, 0x49ecd6\nADD             R2, SP, #0x14+var_4                                    ; +0x16, 0x49ecda\nSTR.W           R1, [R2,#-0x10]!                                       ; +0x18, 0x49ecdc\nADD.W           R1, R0, #0x304                                         ; +0x1c, 0x49ece0\nCBZ             R3, loc_49ECEE                                         ; +0x20, 0x49ece4\nADD             R0, SP, #0x14+var_10                                   ; +0x22, 0x49ece6\nBL              sub_49EBE0                                             ; +0x24, 0x49ece8\nB               loc_49ECF6                                             ; +0x28, 0x49ecec\nMOV             R0, R1                                                 ; +0x2a, 0x49ecee\nMOV             R1, R2                                                 ; +0x2c, 0x49ecf0\nBL              sub_4989B6                                             ; +0x2e, 0x49ecf2\nLDR             R2, [SP,#0x14+var_8]                                   ; +0x32, 0x49ecf6\nLDR             R3, [R4]                                               ; +0x34, 0x49ecf8\nCMP             R2, R3                                                 ; +0x36, 0x49ecfa\nBEQ             loc_49ED02                                             ; +0x38, 0x49ecfc\nBLX             __stack_chk_fail                                       ; +0x3a, 0x49ecfe\nADD             SP, SP, #0x14                                          ; +0x3e, 0x49ed02\nPOP             {R4,R5,PC}                                             ; +0x40, 0x49ed04", "xrefs": ["GJBaseGameLayer::processFollowActions @ 0x4755a2"], "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"}